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  <[EMAIL PROTECTED]>

        * 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
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to