diff --git a/data/mate-screensaver-preferences.ui b/data/mate-screensaver-preferences.ui index e5ef5730..b43f71af 100644 --- a/data/mate-screensaver-preferences.ui +++ b/data/mate-screensaver-preferences.ui @@ -286,6 +286,7 @@ _Screensaver theme: True True + savers_treeview False @@ -411,6 +412,7 @@ False Regard the computer as _idle after: True + activate_delay_hscale 0 @@ -443,6 +445,7 @@ Time before l_ocking: Delay before locking the screen after the screensaver activated True + lock_delay_hscale 0 diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c index 1bcdcaf6..993dae4f 100644 --- a/src/mate-screensaver-preferences.c +++ b/src/mate-screensaver-preferences.c @@ -1624,7 +1624,6 @@ init_capplet (void) GtkWidget *list_scroller; GtkWidget *activate_delay_hscale; GtkWidget *lock_delay_hscale; - GtkWidget *label; GtkWidget *enabled_checkbox; GtkWidget *lock_checkbox; GtkWidget *root_warning_label; @@ -1685,13 +1684,6 @@ init_capplet (void) fullscreen_preview_next = GTK_WIDGET (gtk_builder_get_object (builder, "fullscreen_preview_next_button")); picture_filename = GTK_WIDGET (gtk_builder_get_object (builder, "picture_filename")); - label = GTK_WIDGET (gtk_builder_get_object (builder, "activate_delay_label")); - gtk_label_set_mnemonic_widget (GTK_LABEL (label), activate_delay_hscale); - label = GTK_WIDGET (gtk_builder_get_object (builder, "lock_delay_label")); - gtk_label_set_mnemonic_widget (GTK_LABEL (label), lock_delay_hscale); - label = GTK_WIDGET (gtk_builder_get_object (builder, "savers_label")); - gtk_label_set_mnemonic_widget (GTK_LABEL (label), treeview); - gtk_widget_set_no_show_all (root_warning_label, TRUE); widget_set_best_visual (preview);