gdm r6326 - in trunk: . gui/simple-greeter
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gdm r6326 - in trunk: . gui/simple-greeter
- Date: Tue, 22 Jul 2008 03:13:30 +0000 (UTC)
Author: mccann
Date: Tue Jul 22 03:13:30 2008
New Revision: 6326
URL: http://svn.gnome.org/viewvc/gdm?rev=6326&view=rev
Log:
2008-07-21 William Jon McCann <jmccann redhat com>
* gui/simple-greeter/gdm-greeter-login-window.c (do_cancel),
(gdm_greeter_login_window_ready):
Wait for ready from backend when cancelling
from greeter.
Modified:
trunk/ChangeLog
trunk/gui/simple-greeter/gdm-greeter-login-window.c
Modified: trunk/gui/simple-greeter/gdm-greeter-login-window.c
==============================================================================
--- trunk/gui/simple-greeter/gdm-greeter-login-window.c (original)
+++ trunk/gui/simple-greeter/gdm-greeter-login-window.c Tue Jul 22 03:13:30 2008
@@ -755,7 +755,10 @@
static void
do_cancel (GdmGreeterLoginWindow *login_window)
{
- reset_dialog (login_window);
+ /* need to wait for response from backend */
+ set_message (login_window, _("Cancelling..."));
+ set_busy (login_window);
+ set_sensitive (login_window, FALSE);
g_signal_emit (login_window, signals[CANCELLED], 0);
}
@@ -764,6 +767,8 @@
{
g_return_val_if_fail (GDM_IS_GREETER_LOGIN_WINDOW (login_window), FALSE);
+ reset_dialog (login_window);
+
set_sensitive (GDM_GREETER_LOGIN_WINDOW (login_window), TRUE);
set_ready (GDM_GREETER_LOGIN_WINDOW (login_window));
set_focus (GDM_GREETER_LOGIN_WINDOW (login_window));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]