aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/im-accounts-service.c7
-rw-r--r--src/im-accounts-service.h1
-rw-r--r--src/im-menu.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/src/im-accounts-service.c b/src/im-accounts-service.c
index f3b641f..1926d9b 100644
--- a/src/im-accounts-service.c
+++ b/src/im-accounts-service.c
@@ -98,3 +98,10 @@ im_accounts_service_set_draws_attention (ImAccountsService * service, gboolean d
}
+
+gboolean
+im_accounts_service_get_show_on_greeter (ImAccountsService * service)
+{
+
+ return FALSE;
+}
diff --git a/src/im-accounts-service.h b/src/im-accounts-service.h
index 263103b..d7611d8 100644
--- a/src/im-accounts-service.h
+++ b/src/im-accounts-service.h
@@ -46,6 +46,7 @@ struct _ImAccountsService {
GType im_accounts_service_get_type (void);
ImAccountsService * im_accounts_service_ref_default (void);
void im_accounts_service_set_draws_attention (ImAccountsService * service, gboolean draws_attention);
+gboolean im_accounts_service_get_show_on_greeter (ImAccountsService * service);
G_END_DECLS
diff --git a/src/im-menu.c b/src/im-menu.c
index bd45098..0c39b97 100644
--- a/src/im-menu.c
+++ b/src/im-menu.c
@@ -256,5 +256,5 @@ im_menu_show_data (ImMenu *menu)
if (!priv->on_greeter)
return TRUE;
- return FALSE;
+ return im_accounts_service_get_show_on_greeter(priv->as);
}