~noskcaj/ubuntu/trusty/xfdesktop4/4.11.2-1

« back to all changes in this revision

Viewing changes to debian/patches/xubuntu_fix-menu-icon.patch

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2012-05-18 22:18:02 UTC
  • mfrom: (3.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20120518221802-htmj6h4apaij25l2
Tags: 4.10.0-1ubuntu1
* Merge from Debian experimental, remaining Ubuntu change:
  - debian/patches/xubuntu_improve-nautilus-interactions.patch: added,
    should prevent nautilus from taking over the desktop if xfdesktop is
    running (and vice-versa).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Use a better icon for the Applications menu
2
 
Author: Lionel Le Folgoc <mrpouit@ubuntu.com>
3
 
Bug: https://bugzilla.xfce.org/show_bug.cgi?id=8500
4
 
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/xfdesktop4/+bug/937684
5
 
Forwarded: yes, https://bugzilla.xfce.org/attachment.cgi?id=4231
6
 
 
7
 
--- xfdesktop4-4.8.3.orig/src/menu.c
8
 
+++ xfdesktop4-4.8.3/src/menu.c
9
 
@@ -97,8 +97,8 @@ menu_populate(XfceDesktop *desktop,
10
 
             gtk_widget_show(mi);
11
 
             gtk_menu_shell_append(GTK_MENU_SHELL(menu), mi);
12
 
             
13
 
-            if(gtk_icon_theme_has_icon(itheme, "applications-accessories")) {
14
 
-                img = gtk_image_new_from_icon_name("applications-accessories",
15
 
+            if(gtk_icon_theme_has_icon(itheme, "xfdesktop-menu")) {
16
 
+                img = gtk_image_new_from_icon_name("xfdesktop-menu",
17
 
                                                    GTK_ICON_SIZE_MENU);
18
 
                 gtk_widget_show(img);
19
 
             }