diff options
Diffstat (limited to 'x11/gnome-shell/files/patch-src_shell-app-system.c')
-rw-r--r-- | x11/gnome-shell/files/patch-src_shell-app-system.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/gnome-shell/files/patch-src_shell-app-system.c b/x11/gnome-shell/files/patch-src_shell-app-system.c new file mode 100644 index 000000000..6e03eb3fd --- /dev/null +++ b/x11/gnome-shell/files/patch-src_shell-app-system.c @@ -0,0 +1,21 @@ +From 557f9ceb97bde57fa3715c4a91cfd4982f3402d1 Mon Sep 17 00:00:00 2001 +From: Colin Walters <walters@verbum.org> +Date: Thu, 13 Aug 2009 15:31:53 +0000 +Subject: Bug 591590 - Fix some applications not appearing in menu + +Use the correct address for the entry, instead of treating the +ShellAppInfo pointer as one. +--- +diff --git a/src/shell-app-system.c b/src/shell-app-system.c +index d415f18..d4ee4cb 100644 +--- src/shell-app-system.c ++++ src/shell-app-system.c +@@ -848,7 +848,7 @@ shell_app_info_get_is_nodisplay (ShellAppInfo *info) + switch (info->type) + { + case SHELL_APP_INFO_TYPE_ENTRY: +- return gmenu_tree_entry_get_is_nodisplay ((GMenuTreeEntry*)info); ++ return gmenu_tree_entry_get_is_nodisplay ((GMenuTreeEntry*)info->entry); + case SHELL_APP_INFO_TYPE_DESKTOP_FILE: + return FALSE; + } |