patches/xscreensaver-08-passwdTimeout-pref.diff
author alanc
Fri, 04 Jun 2010 07:36:32 +0000
changeset 18077 cf2df829a4db
parent 18061 1ad14cf3c086
child 18087 3e1e477dd527
permissions -rw-r--r--
2010-06-04 Alan Coopersmith <[email protected]> * patches/xscreensaver-06-gtk-lock.diff, * patches/xscreensaver-08-passwdTimeout-pref.diff, * patches/xscreensaver-14-pam_audit.diff, * patches/xscreensaver-24-bug-xrandr.diff: - When destroying windows (such as when changing screensaver "hacks" to one with a different visual), purge any queued VisibilityNotify events so we don't get XErrors when we process them and try to restack a destroyed window. - Pass through some additional messages from the upstream code to the gtk unlock dialog, like the "(Caps Lock?)" when authentication fails & Caps Lock was on and the counts of failed login attempts.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     1
/*
18039
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
     2
 * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     3
 *
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     4
 * Permission is hereby granted, free of charge, to any person obtaining a
18039
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
     5
 * copy of this software and associated documentation files (the "Software"),
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
     6
 * to deal in the Software without restriction, including without limitation
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
     7
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
     8
 * and/or sell copies of the Software, and to permit persons to whom the
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
     9
 * Software is furnished to do so, subject to the following conditions:
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    10
 *
18039
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    11
 * The above copyright notice and this permission notice (including the next
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    12
 * paragraph) shall be included in all copies or substantial portions of the
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    13
 * Software.
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    14
 *
18039
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    15
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    16
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    17
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    18
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    19
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    20
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    21
 * DEALINGS IN THE SOFTWARE.
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    22
 */
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    23
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    24
Sun bug 5077981/GNOME bug 147579:
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    25
	There should be an option to extend/disable lockout timer
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    26
	http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=5077981
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    27
	http://bugzilla.gnome.org/show_bug.cgi?id=147579
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    28
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    29
Sun bug 6176524:
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    30
        passwdTimeoutEnable for disabled user (xscreensaver-lock)
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    31
        http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6176524
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    32
18039
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    33
diff --git xscreensaver-5.11/driver/XScreenSaver.ad.in xscreensaver-5.11/driver/XScreenSaver.ad.in
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    34
--- xscreensaver-5.11/driver/XScreenSaver.ad.in
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    35
+++ xscreensaver-5.11/driver/XScreenSaver.ad.in
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    36
@@ -34,6 +34,7 @@
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    37
 *cycle:			0:10:00
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    38
 *lockTimeout:		0:00:00
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    39
 *passwdTimeout:		0:02:00
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    40
+*passwdTimeoutEnabled:	True
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    41
 *dpmsEnabled:		True
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    42
 *dpmsStandby:		0:10:00
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    43
 *dpmsSuspend:		0:10:00
18039
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    44
diff --git xscreensaver-5.11/driver/demo-Gtk.c xscreensaver-5.11/driver/demo-Gtk.c
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    45
--- xscreensaver-5.11/driver/demo-Gtk.c
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    46
+++ xscreensaver-5.11/driver/demo-Gtk.c
18077
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
    47
@@ -1526,6 +1526,8 @@ flush_dialog_changes_and_save (state *s)
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    48
 
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    49
   MINUTES  (&p2->timeout,         "timeout_spinbutton");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    50
   MINUTES  (&p2->cycle,           "cycle_spinbutton");
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
    51
+  CHECKBOX (p2->pwd_p,            "pwd_button");	/* bugid 5077981 */
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    52
+  MINUTES  (&p2->passwd_timeout,  "pwd_spinbutton");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    53
   CHECKBOX (p2->lock_p,           "lock_button");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    54
   MINUTES  (&p2->lock_timeout,    "lock_spinbutton");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    55
 
18077
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
    56
@@ -1617,6 +1619,8 @@ flush_dialog_changes_and_save (state *s)
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    57
   COPY(cycle,          "cycle");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    58
   COPY(lock_p,         "lock_p");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    59
   COPY(lock_timeout,   "lock_timeout");
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
    60
+  COPY(pwd_p,          "pwd_p");		/* bugid 5077981 */
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    61
+  COPY(passwd_timeout, "passwd_timeout");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    62
 
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    63
   COPY(dpms_enabled_p, "dpms_enabled_p");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    64
   COPY(dpms_standby,   "dpms_standby");
18077
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
    65
@@ -2746,6 +2750,9 @@ populate_prefs_page (state *s)
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    66
   FMT_MINUTES ("timeout_spinbutton",      p->timeout);
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    67
   FMT_MINUTES ("cycle_spinbutton",        p->cycle);
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    68
   FMT_MINUTES ("lock_spinbutton",         p->lock_timeout);
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
    69
+  /* bugid 5077981 */
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    70
+  FMT_MINUTES ("pwd_spinbutton",          p->passwd_timeout);
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
    71
+
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    72
   FMT_MINUTES ("dpms_standby_spinbutton", p->dpms_standby);
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    73
   FMT_MINUTES ("dpms_suspend_spinbutton", p->dpms_suspend);
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    74
   FMT_MINUTES ("dpms_off_spinbutton",     p->dpms_off);
18077
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
    75
@@ -2758,6 +2765,7 @@ populate_prefs_page (state *s)
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    76
   gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (name_to_widget (s,(NAME))),\
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    77
                                 (ACTIVEP))
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    78
 
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
    79
+  TOGGLE_ACTIVE ("pwd_button",	      p->pwd_p); /* bugid 5077981 */
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    80
   TOGGLE_ACTIVE ("lock_button",       p->lock_p);
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    81
 #if 0
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
    82
   TOGGLE_ACTIVE ("verbose_button",    p->verbose_p);
18077
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
    83
@@ -2862,6 +2870,10 @@ populate_prefs_page (state *s)
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    84
 
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    85
     /* Blanking and Locking
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    86
      */
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
    87
+    /* bugid 5077081 */
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    88
+    SENSITIZE ("pwd_spinbutton", p->pwd_p);
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    89
+    SENSITIZE ("pwd_mlabel",     p->pwd_p);
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    90
+
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    91
     SENSITIZE ("lock_button",     can_lock_p);
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    92
     SENSITIZE ("lock_spinbutton", can_lock_p && p->lock_p);
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    93
     SENSITIZE ("lock_mlabel",     can_lock_p && p->lock_p);
18077
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
    94
@@ -3033,6 +3045,7 @@ fix_text_entry_sizes (state *s)
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    95
 # if 0   /* appears no longer necessary with Gtk 1.2.10 */
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    96
   const char * const spinbuttons[] = {
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    97
     "timeout_spinbutton", "cycle_spinbutton", "lock_spinbutton",
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
    98
+    "pwd_spinbutton", /* bugid 5077981 */
18039
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
    99
     "dpms_standby_spinbutton", "dpms_suspend_spinbutton",
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   100
     "dpms_off_spinbutton",
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   101
     "-fade_spinbutton" };
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   102
diff --git xscreensaver-5.11/driver/lock.c xscreensaver-5.11/driver/lock.c
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   103
--- xscreensaver-5.11/driver/lock.c
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   104
+++ xscreensaver-5.11/driver/lock.c
18077
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
   105
@@ -1542,6 +1542,10 @@ update_passwd_window (saver_info *si, const char *printed_passwd, float ratio)
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   106
       event.xclient.data.l[1] = 0;
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   107
       event.xclient.data.l[2] = 0;
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   108
 
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   109
+      /* CR 6176524 passwdTimeoutEnable for disabled user */
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   110
+      if (! si->prefs.pwd_p)
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   111
+        event.xclient.data.l[1] = 1;
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   112
+
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   113
       XSync (si->dpy, False);
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   114
       old_handler = XSetErrorHandler (ignore_all_errors_ehandler);
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   115
 
18077
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
   116
@@ -2455,7 +2459,9 @@ passwd_event_loop (saver_info *si)
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
   117
   /* bugid 6176524 passwdTimeout and reset timer for each key press */
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
   118
   passwd_dialog_data *pw = si->pw_data;
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   119
 
18077
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
   120
-  passwd_animate_timer ((XtPointer) si, 0);
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
   121
+  /* CR 6176524 passwdTimeoutEnable for disabled user */
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
   122
+  if (! si->prefs.pwd_p)
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
   123
+      passwd_animate_timer ((XtPointer) si, 0);
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
   124
 
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
   125
   si->pw_data->got_passwd = FALSE;
cf2df829a4db 2010-06-04 Alan Coopersmith <[email protected]>
alanc
parents: 18061
diff changeset
   126
 
18039
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
   127
diff --git xscreensaver-5.11/driver/prefs.c xscreensaver-5.11/driver/prefs.c
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
   128
--- xscreensaver-5.11/driver/prefs.c
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
   129
+++ xscreensaver-5.11/driver/prefs.c
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   130
@@ -251,6 +251,7 @@ static const char * const prefs[] = {
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   131
   "lockVTs",			/* not saved */
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   132
   "lockTimeout",
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   133
   "passwdTimeout",
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   134
+  "passwdTimeoutEnabled",	/* bugid 5077981 */
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   135
   "visualID",
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   136
   "installColormap",
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   137
   "verbose",
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   138
@@ -782,6 +783,9 @@ write_init_file (Display *dpy,
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   139
       CHECK("lockVTs")		continue;  /* don't save, unused */
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   140
       CHECK("lockTimeout")	type = pref_time, t = p->lock_timeout;
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   141
       CHECK("passwdTimeout")	type = pref_time, t = p->passwd_timeout;
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   142
+
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   143
+/* bugid 5077981 */
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   144
+      CHECK("passwdTimeoutEnabled") type = pref_bool, b = p->pwd_p;
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   145
       CHECK("visualID")		type = pref_str,  s =    visual_name;
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   146
       CHECK("installColormap")	type = pref_bool, b = p->install_cmap_p;
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   147
       CHECK("verbose")		type = pref_bool, b = p->verbose_p;
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   148
@@ -1064,6 +1068,8 @@ load_init_file (Display *dpy, saver_preferences *p)
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   149
   p->lock_timeout    = 1000 * get_minutes_resource (dpy, "lockTimeout", "Time");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   150
   p->cycle           = 1000 * get_minutes_resource (dpy, "cycle", "Time");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   151
   p->passwd_timeout  = 1000 * get_seconds_resource (dpy, "passwdTimeout", "Time");
18061
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   152
+  /* bugid 5077981 */
1ad14cf3c086 2010-06-01 Alan Coopersmith <[email protected]>
alanc
parents: 18039
diff changeset
   153
+  p->pwd_p           = get_boolean_resource (dpy, "passwdTimeoutEnabled", "Boolean");
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   154
   p->pointer_timeout = 1000 * get_seconds_resource (dpy, "pointerPollTime", "Time");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   155
   p->pointer_hysteresis = get_integer_resource (dpy, "pointerHysteresis","Integer");
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   156
   p->notice_events_timeout = 1000*get_seconds_resource(dpy,
18039
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
   157
diff --git xscreensaver-5.11/driver/types.h xscreensaver-5.11/driver/types.h
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
   158
--- xscreensaver-5.11/driver/types.h
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
   159
+++ xscreensaver-5.11/driver/types.h
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   160
@@ -77,6 +77,8 @@ struct saver_preferences {
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   161
   Bool xsync_p;			/* whether XSynchronize has been called */
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   162
 
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   163
   Bool lock_p;			/* whether to lock as well as save */
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   164
+  Bool pwd_p;                   /* whether to disable/enable pwd timeout */
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   165
+                                /* bugid 5077981 */
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   166
 
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   167
   Bool fade_p;			/* whether to fade to black, if possible */
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   168
   Bool unfade_p;		/* whether to fade from black, if possible */
18039
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
   169
diff --git xscreensaver-5.11/driver/xscreensaver-demo.glade2 xscreensaver-5.11/driver/xscreensaver-demo.glade2
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
   170
--- xscreensaver-5.11/driver/xscreensaver-demo.glade2
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
   171
+++ xscreensaver-5.11/driver/xscreensaver-demo.glade2
18027
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   172
@@ -165,7 +165,7 @@
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   173
 		  <child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   174
 		    <widget class="GtkTable" id="blanking_table">
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   175
 		      <property name="visible">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   176
-		      <property name="n_rows">3</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   177
+		      <property name="n_rows">4</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   178
 		      <property name="n_columns">4</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   179
 		      <property name="homogeneous">False</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   180
 		      <property name="row_spacing">2</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   181
@@ -339,6 +339,65 @@
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   182
 		      </child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   183
 
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   184
 		      <child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   185
+			<widget class="GtkSpinButton" id="pwd_spinbutton">
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   186
+			  <property name="visible">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   187
+			  <property name="tooltip" translatable="yes">How long the unlock dialog waits for input before disappearing.</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   188
+			  <property name="can_focus">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   189
+			  <property name="climb_rate">15</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   190
+			  <property name="digits">0</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   191
+			  <property name="numeric">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   192
+			  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   193
+			  <property name="snap_to_ticks">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   194
+			  <property name="wrap">False</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   195
+			  <property name="adjustment">0 0 720 1 15 15</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   196
+			  <signal name="activate" handler="pref_changed_cb"/>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   197
+			  <signal name="focus_out_event" handler="pref_changed_event_cb"/>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   198
+			  <signal name="value_changed" handler="pref_changed_cb"/>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   199
+			</widget>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   200
+			<packing>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   201
+			  <property name="left_attach">2</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   202
+			  <property name="right_attach">3</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   203
+			  <property name="top_attach">3</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   204
+			  <property name="bottom_attach">4</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   205
+			  <property name="y_padding">10</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   206
+			  <property name="x_options">fill</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   207
+			  <property name="y_options"></property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   208
+			</packing>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   209
+		      </child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   210
+
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   211
+		      <child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   212
+			<widget class="GtkEventBox" id="pwd_button_eventbox">
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   213
+			  <property name="visible">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   214
+			  <property name="tooltip" translatable="yes">Whether the unlock dialog box should disappear after a timeout.</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   215
+			  <property name="visible_window">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   216
+			  <property name="above_child">False</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   217
+
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   218
+			  <child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   219
+			    <widget class="GtkCheckButton" id="pwd_button">
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   220
+			      <property name="visible">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   221
+			      <property name="can_focus">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   222
+			      <property name="label" translatable="yes">Timeout _Unlock After</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   223
+			      <property name="use_underline">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   224
+			      <property name="relief">GTK_RELIEF_NORMAL</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   225
+			      <property name="focus_on_click">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   226
+			      <property name="active">False</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   227
+			      <property name="inconsistent">False</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   228
+			      <property name="draw_indicator">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   229
+			      <signal name="toggled" handler="pref_changed_cb"/>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   230
+			    </widget>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   231
+			  </child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   232
+			</widget>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   233
+			<packing>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   234
+			  <property name="left_attach">0</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   235
+			  <property name="right_attach">2</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   236
+			  <property name="top_attach">3</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   237
+			  <property name="bottom_attach">4</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   238
+			  <property name="x_options">fill</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   239
+			  <property name="y_options">fill</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   240
+			</packing>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   241
+		      </child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   242
+
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   243
+		      <child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   244
 			<widget class="GtkLabel" id="cycle_mlabel">
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   245
 			  <property name="visible">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   246
 			  <property name="label" translatable="yes">minutes</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   247
@@ -393,6 +452,29 @@
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   248
 		      </child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   249
 
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   250
 		      <child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   251
+			<widget class="GtkLabel" id="pwd_mlabel">
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   252
+			  <property name="visible">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   253
+			  <property name="label" translatable="yes">minutes</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   254
+			  <property name="use_underline">False</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   255
+			  <property name="use_markup">False</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   256
+			  <property name="justify">GTK_JUSTIFY_LEFT</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   257
+			  <property name="wrap">False</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   258
+			  <property name="selectable">False</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   259
+			  <property name="xalign">0</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   260
+			  <property name="yalign">0.5</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   261
+			  <property name="xpad">8</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   262
+			  <property name="ypad">0</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   263
+			</widget>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   264
+			<packing>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   265
+			  <property name="left_attach">3</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   266
+			  <property name="right_attach">4</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   267
+			  <property name="top_attach">3</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   268
+			  <property name="bottom_attach">4</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   269
+			  <property name="y_options"></property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   270
+			</packing>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   271
+		      </child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   272
+
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   273
+		      <child>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   274
 			<widget class="GtkLabel" id="timeout_label">
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   275
 			  <property name="visible">True</property>
aecb9b8c6ef2 2010-05-25 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   276
 			  <property name="label" translatable="yes">_Blank After</property>
18039
93dd6ed68b16 2010-05-26 Alan Coopersmith <[email protected]>
alanc
parents: 18027
diff changeset
   277