gossip r2716 - in trunk: . data/glade src



Author: rhult
Date: Mon Jan 21 21:00:30 2008
New Revision: 2716
URL: http://svn.gnome.org/viewvc/gossip?rev=2716&view=rev

Log:
2008-01-21  Richard Hult  <richard imendio com>

	* data/glade/main.glade:
	* src/gossip-app.c: (app_setup): Hide the separators that are left
	after moving some items and put preferences in a separate
	group.


Modified:
   trunk/ChangeLog
   trunk/data/glade/main.glade
   trunk/src/gossip-app.c

Modified: trunk/data/glade/main.glade
==============================================================================
--- trunk/data/glade/main.glade	(original)
+++ trunk/data/glade/main.glade	Mon Jan 21 21:00:30 2008
@@ -3712,7 +3712,7 @@
 		  </child>
 
 		  <child>
-		    <widget class="GtkSeparatorMenuItem" id="separator6">
+		    <widget class="GtkSeparatorMenuItem" id="quit_separator">
 		      <property name="visible">True</property>
 		    </widget>
 		  </child>
@@ -3842,7 +3842,7 @@
 		  </child>
 
 		  <child>
-		    <widget class="GtkSeparatorMenuItem" id="separator2">
+		    <widget class="GtkSeparatorMenuItem" id="preferences_separator">
 		      <property name="visible">True</property>
 		    </widget>
 		  </child>

Modified: trunk/src/gossip-app.c
==============================================================================
--- trunk/src/gossip-app.c	(original)
+++ trunk/src/gossip-app.c	Mon Jan 21 21:00:30 2008
@@ -847,10 +847,18 @@
 		ige_mac_menu_add_app_menu_item (group, GTK_MENU_ITEM (item),
 						_("About Gossip"));
 
+		group =  ige_mac_menu_add_app_menu_group ();
 		item = glade_xml_get_widget (glade, "edit_preferences");
 		ige_mac_menu_add_app_menu_item (group, GTK_MENU_ITEM (item),
 						_("Preferences..."));
 
+		/* Hide the left over separators. */
+		item = glade_xml_get_widget (glade, "quit_separator");
+		gtk_widget_hide (item);
+
+		item = glade_xml_get_widget (glade, "preferences_separator");
+		gtk_widget_hide (item);
+
 		gtk_widget_hide (priv->menu_bar);
 	}
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]