gnome-settings-daemon r443 - in trunk: . plugins/xrandr
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-settings-daemon r443 - in trunk: . plugins/xrandr
- Date: Sat, 16 Aug 2008 01:55:34 +0000 (UTC)
Author: federico
Date: Sat Aug 16 01:55:34 2008
New Revision: 443
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=443&view=rev
Log:
xrandr - Add a separator to the tray icon's menu
2008-08-13 Federico Mena Quintero <federico novell com>
* plugins/xrandr/gsd-xrandr-manager.c (status_icon_popup_menu):
Add a separator to the menu before "Configure display settings".
Signed-off-by: Federico Mena Quintero <federico novell com>
Modified:
trunk/ChangeLog
trunk/plugins/xrandr/gsd-xrandr-manager.c
Modified: trunk/plugins/xrandr/gsd-xrandr-manager.c
==============================================================================
--- trunk/plugins/xrandr/gsd-xrandr-manager.c (original)
+++ trunk/plugins/xrandr/gsd-xrandr-manager.c Sat Aug 16 01:55:34 2008
@@ -221,12 +221,15 @@
gtk_widget_show (item);
gtk_menu_shell_append (GTK_MENU_SHELL (priv->popup_menu), item);
+ item = gtk_separator_menu_item_new ();
+ gtk_widget_show (item);
+ gtk_menu_shell_append (GTK_MENU_SHELL (priv->popup_menu), item);
+
item = gtk_menu_item_new_with_mnemonic (_("_Configure Display Settings ..."));
g_signal_connect (item, "activate",
G_CALLBACK (popup_menu_configure_display_cb), manager);
gtk_widget_show (item);
gtk_menu_shell_append (GTK_MENU_SHELL (priv->popup_menu), item);
- /* FIXME */
g_signal_connect (priv->popup_menu, "selection-done",
G_CALLBACK (status_icon_popup_menu_selection_done_cb), manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]