Branch: refs/heads/master Author: Quentin Glidic sardemff7+git@sardemff7.net Committer: Frank Lanitz frank@frank.uvena.de Date: Sat, 06 Apr 2013 16:45:57 UTC Commit: ff7a9dd39c153bec38a7728a3b375aa0184b0d75 https://github.com/geany/geany-plugins/commit/ff7a9dd39c153bec38a7728a3b375a...
Log Message: ----------- TreeBrowser: Fix GTK+3 support
Signed-off-by: Quentin Glidic sardemff7+git@sardemff7.net
Modified Paths: -------------- build/treebrowser.m4 treebrowser/src/treebrowser.c
Modified: build/treebrowser.m4 1 files changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -1,7 +1,6 @@ AC_DEFUN([GP_CHECK_TREEBROWSER], [ GP_ARG_DISABLE([Treebrowser], [auto]) - GP_CHECK_PLUGIN_GTK2_ONLY([Treebrowser]) if [[ "$enable_treebrowser" != no ]]; then AC_CHECK_FUNC([creat], [enable_treebrowser=yes],
Modified: treebrowser/src/treebrowser.c 20 files changed, 10 insertions(+), 10 deletions(-) =================================================================== @@ -1906,10 +1906,10 @@ enum
hbox = gtk_hbox_new(FALSE, 0); label = gtk_label_new(_("Toolbar")); - configure_widgets.SHOW_BARS = gtk_combo_box_new_text(); - gtk_combo_box_append_text( GTK_COMBO_BOX(configure_widgets.SHOW_BARS), _("Hidden")); - gtk_combo_box_append_text( GTK_COMBO_BOX(configure_widgets.SHOW_BARS), _("Top")); - gtk_combo_box_append_text( GTK_COMBO_BOX(configure_widgets.SHOW_BARS), _("Bottom")); + configure_widgets.SHOW_BARS = gtk_combo_box_text_new(); + gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT(configure_widgets.SHOW_BARS), _("Hidden")); + gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT(configure_widgets.SHOW_BARS), _("Top")); + gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT(configure_widgets.SHOW_BARS), _("Bottom")); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 6); gtk_box_pack_start(GTK_BOX(hbox), configure_widgets.SHOW_BARS, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 6); @@ -1919,10 +1919,10 @@ enum
hbox = gtk_hbox_new(FALSE, 0); label = gtk_label_new(_("Show icons")); - configure_widgets.SHOW_ICONS = gtk_combo_box_new_text(); - gtk_combo_box_append_text( GTK_COMBO_BOX(configure_widgets.SHOW_ICONS), _("None")); - gtk_combo_box_append_text( GTK_COMBO_BOX(configure_widgets.SHOW_ICONS), _("Base")); - gtk_combo_box_append_text( GTK_COMBO_BOX(configure_widgets.SHOW_ICONS), _("Content-type")); + configure_widgets.SHOW_ICONS = gtk_combo_box_text_new(); + gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT(configure_widgets.SHOW_ICONS), _("None")); + gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT(configure_widgets.SHOW_ICONS), _("Base")); + gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT(configure_widgets.SHOW_ICONS), _("Content-type")); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 6); gtk_box_pack_start(GTK_BOX(hbox), configure_widgets.SHOW_ICONS, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 6); @@ -2017,11 +2017,11 @@ static void kb_activate(guint key_id) case KB_RENAME_OBJECT: treebrowser_rename_current(); break; - + case KB_CREATE_FILE: treebrowser_create_new_current("file"); break; - + case KB_CREATE_DIR: treebrowser_create_new_current("directory"); break;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).