Revision: 3923 http://geany.svn.sourceforge.net/geany/?rev=3923&view=rev Author: ntrel Date: 2009-07-07 12:19:02 +0000 (Tue, 07 Jul 2009)
Log Message: ----------- Use stock Select All icon now we have >= GTK 2.8.
Modified Paths: -------------- trunk/ChangeLog trunk/geany.glade trunk/src/interface.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2009-07-07 11:57:50 UTC (rev 3922) +++ trunk/ChangeLog 2009-07-07 12:19:02 UTC (rev 3923) @@ -5,6 +5,8 @@ macro. Set a tooltip for the Split Window plugin's Show Current tool button. Add utils_strdupa() macro. + * src/interface.c, geany.glade: + Use stock Select All icon now we have >= GTK 2.8.
2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/geany.glade =================================================================== --- trunk/geany.glade 2009-07-07 11:57:50 UTC (rev 3922) +++ trunk/geany.glade 2009-07-07 12:19:02 UTC (rev 3923) @@ -415,10 +415,10 @@ </child>
<child> - <widget class="GtkMenuItem" id="menu_select_all1"> + <widget class="GtkImageMenuItem" id="menu_select_all1"> <property name="visible">True</property> - <property name="label" translatable="yes">Select _All</property> - <property name="use_underline">True</property> + <property name="label">gtk-select-all</property> + <property name="use_stock">True</property> <signal name="activate" handler="on_menu_select_all1_activate" last_modification_time="Fri, 30 Jun 2006 13:25:08 GMT"/> </widget> </child> @@ -2280,10 +2280,10 @@ </child>
<child> - <widget class="GtkMenuItem" id="menu_select_all2"> + <widget class="GtkImageMenuItem" id="menu_select_all2"> <property name="visible">True</property> - <property name="label" translatable="yes">Select _All</property> - <property name="use_underline">True</property> + <property name="label">gtk-select-all</property> + <property name="use_stock">True</property> <signal name="activate" handler="on_menu_select_all1_activate" last_modification_time="Fri, 30 Jun 2006 13:35:07 GMT"/> </widget> </child>
Modified: trunk/src/interface.c =================================================================== --- trunk/src/interface.c 2009-07-07 11:57:50 UTC (rev 3922) +++ trunk/src/interface.c 2009-07-07 12:19:02 UTC (rev 3923) @@ -456,7 +456,7 @@ gtk_container_add (GTK_CONTAINER (edit1_menu), menu_seperator2); gtk_widget_set_sensitive (menu_seperator2, FALSE);
- menu_select_all1 = gtk_menu_item_new_with_mnemonic (_("Select _All")); + menu_select_all1 = gtk_image_menu_item_new_from_stock ("gtk-select-all", accel_group); gtk_widget_show (menu_select_all1); gtk_container_add (GTK_CONTAINER (edit1_menu), menu_select_all1);
@@ -1928,7 +1928,7 @@ gtk_container_add (GTK_CONTAINER (edit_menu1), separator3); gtk_widget_set_sensitive (separator3, FALSE);
- menu_select_all2 = gtk_menu_item_new_with_mnemonic (_("Select _All")); + menu_select_all2 = gtk_image_menu_item_new_from_stock ("gtk-select-all", accel_group); gtk_widget_show (menu_select_all2); gtk_container_add (GTK_CONTAINER (edit_menu1), menu_select_all2);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.