Branch: refs/heads/master Author: Alfonso de la Vega alfonsodelavegaruiz@gmail.com Committer: Alfonso de la Vega alfonsodelavegaruiz@gmail.com Date: Thu, 29 Jan 2015 23:11:59 UTC Commit: 3f5b0a5db38c8174d2b94c3611e33847216105b6 https://github.com/geany/geany-plugins/commit/3f5b0a5db38c8174d2b94c3611e338...
Log Message: ----------- Fix style (uniform code indent)
Modified Paths: -------------- treebrowser/src/treebrowser.c
Modified: treebrowser/src/treebrowser.c 24 lines changed, 12 insertions(+), 12 deletions(-) =================================================================== @@ -67,7 +67,7 @@ static gboolean flag_on_expand_refresh = FALSE;
static gchar *CONFIG_FILE = NULL; static gchar *CONFIG_OPEN_EXTERNAL_CMD = NULL; -static gchar *CONFIG_OPEN_TERMINAL = NULL; +static gchar *CONFIG_OPEN_TERMINAL = NULL; static gboolean CONFIG_REVERSE_FILTER = FALSE; static gboolean CONFIG_ONE_CLICK_CHDOC = FALSE; static gboolean CONFIG_SHOW_HIDDEN_FILES = FALSE; @@ -405,7 +405,7 @@ get_terminal(void) #ifdef G_OS_WIN32 terminal = g_strdup("cmd"); #else - terminal = g_strdup(CONFIG_OPEN_TERMINAL); + terminal = g_strdup(CONFIG_OPEN_TERMINAL); #endif return terminal; } @@ -1841,7 +1841,7 @@ load_settings(void) g_key_file_load_from_file(config, CONFIG_FILE, G_KEY_FILE_NONE, NULL);
CONFIG_OPEN_EXTERNAL_CMD = utils_get_setting_string(config, "treebrowser", "open_external_cmd", CONFIG_OPEN_EXTERNAL_CMD_DEFAULT); - CONFIG_OPEN_TERMINAL = utils_get_setting_string(config, "treebrowser", "open_terminal", CONFIG_OPEN_TERMINAL_DEFAULT); + CONFIG_OPEN_TERMINAL = utils_get_setting_string(config, "treebrowser", "open_terminal", CONFIG_OPEN_TERMINAL_DEFAULT); CONFIG_REVERSE_FILTER = utils_get_setting_boolean(config, "treebrowser", "reverse_filter", CONFIG_REVERSE_FILTER); CONFIG_ONE_CLICK_CHDOC = utils_get_setting_boolean(config, "treebrowser", "one_click_chdoc", CONFIG_ONE_CLICK_CHDOC); CONFIG_SHOW_HIDDEN_FILES = utils_get_setting_boolean(config, "treebrowser", "show_hidden_files", CONFIG_SHOW_HIDDEN_FILES); @@ -1959,16 +1959,16 @@ plugin_configure(GtkDialog *dialog) gtk_box_pack_start(GTK_BOX(hbox), configure_widgets.OPEN_EXTERNAL_CMD, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 6);
- hbox = gtk_hbox_new(FALSE, 0); - label = gtk_label_new(_("Terminal")); - configure_widgets.OPEN_TERMINAL = gtk_entry_new(); - gtk_entry_set_text(GTK_ENTRY(configure_widgets.OPEN_TERMINAL), CONFIG_OPEN_TERMINAL); - gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); - ui_widget_set_tooltip_text(configure_widgets.OPEN_TERMINAL, + hbox = gtk_hbox_new(FALSE, 0); + label = gtk_label_new(_("Terminal")); + configure_widgets.OPEN_TERMINAL = gtk_entry_new(); + gtk_entry_set_text(GTK_ENTRY(configure_widgets.OPEN_TERMINAL), CONFIG_OPEN_TERMINAL); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); + ui_widget_set_tooltip_text(configure_widgets.OPEN_TERMINAL, _("The terminal to use with the command "Open Terminal"")); - gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 6); - gtk_box_pack_start(GTK_BOX(hbox), configure_widgets.OPEN_TERMINAL, FALSE, FALSE, 0); - gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 6); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 6); + gtk_box_pack_start(GTK_BOX(hbox), configure_widgets.OPEN_TERMINAL, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 6);
hbox = gtk_hbox_new(FALSE, 0); label = gtk_label_new(_("Toolbar"));
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org