diff options
author | Ted Gould <ted@gould.cx> | 2010-02-08 16:48:09 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-08 16:48:09 -0600 |
commit | 10e52976002729e53a1004f4711e6075bd4c6426 (patch) | |
tree | 8f29329501f128e51830221a8ec4c1add322de80 /src/session-service.c | |
parent | c8558a32255b917e4c94681c2d7691b572e7c717 (diff) | |
parent | 8e583e9965fd7f98c121e766cea4fb1aeb302366 (diff) | |
download | ayatana-indicator-session-10e52976002729e53a1004f4711e6075bd4c6426.tar.gz ayatana-indicator-session-10e52976002729e53a1004f4711e6075bd4c6426.tar.bz2 ayatana-indicator-session-10e52976002729e53a1004f4711e6075bd4c6426.zip |
Removing unneeded GPM proxy
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)); |