diff options
author | Ted Gould <ted@gould.cx> | 2010-02-08 16:46:35 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-08 16:46:35 -0600 |
commit | 8e583e9965fd7f98c121e766cea4fb1aeb302366 (patch) | |
tree | 0ee28293986ad7a95fed6fe6730a8a588b47bc74 /src/session-service.c | |
parent | 40be2d62a4014ed8238b5a64952bcb148eeba500 (diff) | |
parent | 3b8cf7767822cd7d7b0441cf6342cc731c91dafc (diff) | |
download | ayatana-indicator-session-8e583e9965fd7f98c121e766cea4fb1aeb302366.tar.gz ayatana-indicator-session-8e583e9965fd7f98c121e766cea4fb1aeb302366.tar.bz2 ayatana-indicator-session-8e583e9965fd7f98c121e766cea4fb1aeb302366.zip |
Removing GPM proxy as we're not using the setting.
Diffstat (limited to 'src/session-service.c')
-rw-r--r-- | src/session-service.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/session-service.c b/src/session-service.c index 791611e..e89a9a0 100644 --- a/src/session-service.c +++ b/src/session-service.c @@ -315,20 +315,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) @@ -636,7 +622,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)); |