summaryrefslogtreecommitdiffstats
path: root/gnome-panel-about.patch
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2009-08-01 00:09:52 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2009-08-01 00:09:52 +0000
commitfb84907423657282dc32102701176a7a42831cdd (patch)
tree399aab4801ea3bc02227387ca3876478b3ec96c1 /gnome-panel-about.patch
parent506b2d51e9456da6dc00df47ec3cd436e05259a7 (diff)
downloadgnome-panel-fb84907423657282dc32102701176a7a42831cdd.tar.gz
gnome-panel-fb84907423657282dc32102701176a7a42831cdd.tar.xz
gnome-panel-fb84907423657282dc32102701176a7a42831cdd.zip
Reduce excessive 'about'-ing in the System menugnome-panel-2_27_4-5_fc12
Diffstat (limited to 'gnome-panel-about.patch')
-rw-r--r--gnome-panel-about.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnome-panel-about.patch b/gnome-panel-about.patch
new file mode 100644
index 0000000..29d17b4
--- /dev/null
+++ b/gnome-panel-about.patch
@@ -0,0 +1,13 @@
+diff -up gnome-panel-2.27.4/gnome-panel/panel-menu-items.c.about gnome-panel-2.27.4/gnome-panel/panel-menu-items.c
+--- gnome-panel-2.27.4/gnome-panel/panel-menu-items.c.about 2009-07-31 18:29:02.635601324 -0400
++++ gnome-panel-2.27.4/gnome-panel/panel-menu-items.c 2009-07-31 18:30:18.129605780 -0400
+@@ -1159,7 +1159,8 @@ panel_desktop_menu_item_append_menu (Gtk
+ add_menu_separator (menu);
+
+ panel_menu_items_append_from_desktop (menu, "gnome-yelp.desktop", NULL);
+- panel_menu_items_append_from_desktop (menu, "gnome-about.desktop", NULL);
++ if (panel_has_desktop_file ("about-this-computer.desktop"))
++ panel_menu_items_append_from_desktop (menu, "about-this-computer.desktop", NULL);
+
+ if (parent->priv->append_lock_logout)
+ panel_menu_items_append_lock_logout (menu);