aboutsummaryrefslogtreecommitdiff
path: root/src/session-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-08 11:01:55 -0600
committerTed Gould <ted@gould.cx>2010-02-08 11:01:55 -0600
commit3b8cf7767822cd7d7b0441cf6342cc731c91dafc (patch)
treef5ec22db9342c11ddbf05756822eff231ff82375 /src/session-service.c
parent834d779178f8670fbfeb5f8a4e0e4ca9964f6e03 (diff)
downloadayatana-indicator-session-3b8cf7767822cd7d7b0441cf6342cc731c91dafc.tar.gz
ayatana-indicator-session-3b8cf7767822cd7d7b0441cf6342cc731c91dafc.tar.bz2
ayatana-indicator-session-3b8cf7767822cd7d7b0441cf6342cc731c91dafc.zip
Removing the callback into the lock helper for GDM autologin settings change.
Diffstat (limited to 'src/session-service.c')
-rw-r--r--src/session-service.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/session-service.c b/src/session-service.c
index 8306d02..c3c8431 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -264,20 +264,6 @@ show_dialog (DbusmenuMenuitem * mi, guint timestamp, gchar * type)
return;
}
-/* Respond to the signal of autologin changing to see if the
- setting for timed login changes. */
-static void
-gdm_settings_change (void)
-{
- if (!will_lock_screen()) {
- dbusmenu_menuitem_property_set_bool(lock_menuitem, DBUSMENU_MENUITEM_PROP_ENABLED, FALSE);
- } else {
- dbusmenu_menuitem_property_set_bool(lock_menuitem, DBUSMENU_MENUITEM_PROP_ENABLED, TRUE);
- }
-
- return;
-}
-
/* Checks to see if we should show the guest suession item */
static gboolean
check_guest_session (void)
@@ -574,7 +560,6 @@ main (int argc, char ** argv)
G_CALLBACK(service_shutdown), NULL);
g_idle_add(lock_screen_setup, NULL);
- lock_screen_gdm_cb_set(gdm_settings_change);
root_menuitem = dbusmenu_menuitem_new();
g_debug("Root ID: %d", dbusmenu_menuitem_get_id(root_menuitem));