From 013a0562513f59cc9c102fea42f0bb8eeb7f8a0f Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Mon, 6 May 2002 07:18:54 +0000 Subject: [PATCH] Fix the support for both_horiz as the toolbar style. 2002-05-06 Anders Carlsson * gnome-ui-properties.c: (create_dialog): Fix the support for both_horiz as the toolbar style. * gnome-ui-properties.glade: Re-add all option menu items; Somehow they got lost. --- capplets/ui-properties/ChangeLog | 8 + capplets/ui-properties/gnome-ui-properties.c | 8 +- .../ui-properties/gnome-ui-properties.glade | 141 +++++++++++++++--- 3 files changed, 132 insertions(+), 25 deletions(-) diff --git a/capplets/ui-properties/ChangeLog b/capplets/ui-properties/ChangeLog index b1c6ce04e..dc3bee216 100644 --- a/capplets/ui-properties/ChangeLog +++ b/capplets/ui-properties/ChangeLog @@ -1,3 +1,11 @@ +2002-05-06 Anders Carlsson + + * gnome-ui-properties.c: (create_dialog): + Fix the support for both_horiz as the toolbar style. + + * gnome-ui-properties.glade: + Re-add all option menu items; Somehow they got lost. + 2002-04-29 Kjartan Maraas * ui-properties.glade: Remove translatable="yes" for a wrong case. diff --git a/capplets/ui-properties/gnome-ui-properties.c b/capplets/ui-properties/gnome-ui-properties.c index 3c0c42f7c..cce269503 100644 --- a/capplets/ui-properties/gnome-ui-properties.c +++ b/capplets/ui-properties/gnome-ui-properties.c @@ -38,9 +38,10 @@ enum static GConfEnumStringPair toolbar_style_enums[] = { { 0, "both" }, - { 0, "both_horiz" }, - { 1, "icons" }, - { 2, "text" } + { 1, "both_horiz" }, + { 2, "icons" }, + { 3, "text" }, + { -1, NULL }, }; static GConfValue * @@ -92,7 +93,6 @@ create_dialog (void) GladeXML *dialog; dialog = glade_xml_new (GNOMECC_DATA_DIR "/interfaces/gnome-ui-properties.glade", "gnome_ui_properties_dialog", NULL); - /* dialog = glade_xml_new ("gnome2-ui-properties.glade", "gnome_ui_properties_dialog", NULL);*/ return dialog; } diff --git a/capplets/ui-properties/gnome-ui-properties.glade b/capplets/ui-properties/gnome-ui-properties.glade index f3c7993be..6b6b95151 100644 --- a/capplets/ui-properties/gnome-ui-properties.glade +++ b/capplets/ui-properties/gnome-ui-properties.glade @@ -56,8 +56,8 @@ True - Toolbar 0 + 0.5 GTK_SHADOW_ETCHED_IN @@ -99,7 +99,7 @@ True True - -1 + 0 @@ -111,18 +111,33 @@ True + Text Below Icons + True True + Text Beside Icons + True True + Icons Only + True + + + + + + True + Text Only + True + @@ -163,8 +178,8 @@ True - Sample Toolbar 0 + 0.5 GTK_SHADOW_ETCHED_IN A preview of what a toolbar looks like with these settings. @@ -218,6 +233,25 @@ + + + + True + Sample Toolbar + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + label_item + + 0 @@ -227,6 +261,25 @@ + + + + True + Toolbar + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + label_item + + 0 @@ -238,8 +291,8 @@ True - Menus 0 + 0.5 GTK_SHADOW_ETCHED_IN @@ -270,8 +323,8 @@ True - Sample Menubar 0 + 0.5 GTK_SHADOW_ETCHED_IN A preview of what a menubar looks like with these settings. @@ -285,12 +338,14 @@ True + _Menu + True - + True gnome-stock-about - 4 + 1 0.5 0.5 0 @@ -300,18 +355,19 @@ - True True + Menu Item 1 + True - + True gtk-new - 4 + 1 0.5 0.5 0 @@ -324,13 +380,15 @@ True + Menu Item 2 + True - + True gtk-open - 4 + 1 0.5 0.5 0 @@ -343,13 +401,14 @@ True - + Menu Item 3 + True - + True gtk-save - 4 + 1 0.5 0.5 0 @@ -368,13 +427,14 @@ True - + Menu Item 4 + True - + True gtk-print - 4 + 1 0.5 0.5 0 @@ -393,13 +453,14 @@ True - + Menu Item 5 + True - + True gtk-quit - 4 + 1 0.5 0.5 0 @@ -414,6 +475,25 @@ + + + + True + Sample Menubar + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + label_item + + 0 @@ -423,6 +503,25 @@ + + + + True + Menus + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + label_item + + 0