Looking at the source of gtk-logout-helper.c from indicator-session-0.2.7:
in session_action():
--------------------------------
if (action == LOGOUT_DIALOG_TYPE_LOG_OUT) {
                res = dbus_g_proxy_call_with_timeout (sm_proxy, "Logout", 
INT_MAX, &error, 
                                                                                
          G_TYPE_UINT, 1, G_TYPE_INVALID, G_TYPE_INVALID);
        } else if (action == LOGOUT_DIALOG_TYPE_SHUTDOWN) {
                res = dbus_g_proxy_call_with_timeout (sm_proxy, 
"RequestShutdown", INT_MAX, &error, 
                                                                                
          G_TYPE_INVALID, G_TYPE_INVALID);
        } else if (action == LOGOUT_DIALOG_TYPE_RESTART) {
                res = dbus_g_proxy_call_with_timeout (sm_proxy, 
"RequestReboot", INT_MAX, &error, 
                                                                                
          G_TYPE_INVALID, G_TYPE_INVALID);
-----------------------------------
why use dbus_g_proxy_call_with_timeout () if there isn't supposed to be a 
timeout?

I did notice that there was a switch to use dialog.c instead of logout-
dialog.c where logout-dialog.c sets the timeout value and dialog.c
doesn't.

The only thing in the changelog is for 0.2.5:
    * New logout dialogs.

What was this change for?

-- 
Shutdown timer no longer appears
https://bugs.launchpad.net/bugs/548415
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to