diff --git a/capplets/keyboard/ChangeLog b/capplets/keyboard/ChangeLog index 2f8ff0669..610ffbc60 100644 --- a/capplets/keyboard/ChangeLog +++ b/capplets/keyboard/ChangeLog @@ -1,3 +1,11 @@ +2003-06-27 Richard Hult + + * gnome-keyboard-properties.c (setup_dialog): Use the right gconf + key for allow_postpone preference. + + * gnome-keyboard-properties.glade: Remove warn time preference, + it's not used in the code. + Thu Jun 26 16:31:41 2003 Jonathan Blandford * gnome-keyboard-properties.c (setup_dialog): use the correct diff --git a/capplets/keyboard/gnome-keyboard-properties.c b/capplets/keyboard/gnome-keyboard-properties.c index 01d6ee2f6..02d3bca80 100644 --- a/capplets/keyboard/gnome-keyboard-properties.c +++ b/capplets/keyboard/gnome-keyboard-properties.c @@ -165,12 +165,10 @@ setup_dialog (GladeXML *dialog, gconf_peditor_widget_set_guard (GCONF_PROPERTY_EDITOR (peditor), WID ("break_details_table")); gconf_peditor_new_numeric_range (changeset, "/desktop/gnome/typing_break/type_time", WID ("break_enabled_spin"), NULL); - gconf_peditor_new_numeric_range - (changeset, "/desktop/gnome/typing_break/warn_time", WID ("break_warning_spin"), NULL); gconf_peditor_new_numeric_range (changeset, "/desktop/gnome/typing_break/break_time", WID ("break_interval_spin"), NULL); gconf_peditor_new_boolean - (changeset, "/desktop/gnome/typing_break/allow_unlock", WID ("break_postponement_toggle"), NULL); + (changeset, "/desktop/gnome/typing_break/allow_postpone", WID ("break_postponement_toggle"), NULL); g_signal_connect (G_OBJECT (WID ("keyboard_dialog")), "response", (GCallback) dialog_response, changeset); } diff --git a/capplets/keyboard/gnome-keyboard-properties.glade b/capplets/keyboard/gnome-keyboard-properties.glade index 5f29bad58..9e20d12cc 100644 --- a/capplets/keyboard/gnome-keyboard-properties.glade +++ b/capplets/keyboard/gnome-keyboard-properties.glade @@ -746,7 +746,7 @@ True - 4 + 3 3 False 3 @@ -775,54 +775,6 @@ - - - True - minutes - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 2 - 3 - 1 - 2 - - - - - - - True - _Warning time is - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - break_warning_spin - - - 0 - 1 - 1 - 2 - fill - - - - True @@ -871,29 +823,6 @@ - - - True - Duration of warning before starting a break - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 1 1 100000 1 10 10 - - - 1 - 2 - 1 - 2 - - - - - True @@ -912,8 +841,8 @@ 0 1 - 2 - 3 + 1 + 2 fill @@ -935,8 +864,8 @@ 1 2 - 2 - 3 + 1 + 2 fill @@ -959,8 +888,8 @@ 2 3 - 2 - 3 + 1 + 2 fill @@ -981,8 +910,8 @@ 0 3 - 3 - 4 + 2 + 3 fill