diff options
Diffstat (limited to 'src/im-menu.c')
-rw-r--r-- | src/im-menu.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/im-menu.c b/src/im-menu.c index 0f1e7ca..36773c9 100644 --- a/src/im-menu.c +++ b/src/im-menu.c @@ -246,5 +246,11 @@ im_menu_insert_item_sorted (ImMenu *menu, gboolean im_menu_show_data (ImMenu *menu) { - return TRUE; + g_return_val_if_fail (IM_IS_MENU (menu), FALSE); + ImMenuPrivate *priv = im_menu_get_instance_private (IM_MENU (menu)); + + if (!priv->on_greeter) + return TRUE; + + return FALSE; } |