Bug 591590 - Fix some applications not appearing in menu
Use the correct address for the entry, instead of treating the ShellAppInfo pointer as one.
This commit is contained in:
parent
4aae57c274
commit
557f9ceb97
@ -848,7 +848,7 @@ shell_app_info_get_is_nodisplay (ShellAppInfo *info)
|
|||||||
switch (info->type)
|
switch (info->type)
|
||||||
{
|
{
|
||||||
case SHELL_APP_INFO_TYPE_ENTRY:
|
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:
|
case SHELL_APP_INFO_TYPE_DESKTOP_FILE:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user