From f8dbd8090f6a1663260dd9a19f0e84d299fab12d Mon Sep 17 00:00:00 2001 From: Bradford Hovinen Date: Mon, 17 Dec 2001 17:28:23 +0000 Subject: [PATCH] Don't hide opacity controls 2001-12-17 Bradford Hovinen * background-properties-capplet.c (setup_dialog): Don't hide opacity controls * background-properties.glade: Remove opacity controls --- capplets/background/ChangeLog | 3 + .../background-properties-capplet.c | 4 - .../background/background-properties.glade | 84 +--------------- .../background/background-properties.glade1 | 97 +------------------ 4 files changed, 7 insertions(+), 181 deletions(-) diff --git a/capplets/background/ChangeLog b/capplets/background/ChangeLog index 7c5c6657f..ce122e34c 100644 --- a/capplets/background/ChangeLog +++ b/capplets/background/ChangeLog @@ -1,5 +1,8 @@ 2001-12-17 Bradford Hovinen + * background-properties-capplet.c (setup_dialog): Don't hide + opacity controls + * background.schema: Added wallpaper-enabled * background-properties-capplet.c (create_dialog): Use diff --git a/capplets/background/background-properties-capplet.c b/capplets/background/background-properties-capplet.c index df274eeaa..49f13d241 100644 --- a/capplets/background/background-properties-capplet.c +++ b/capplets/background/background-properties-capplet.c @@ -200,10 +200,6 @@ setup_dialog (GtkWidget *widget, GConfChangeSet *changeset) "/background-properties/wallpaper-enabled"); #endif - /* Disable opacity controls */ - gtk_widget_hide (WID ("opacity_spin")); - gtk_widget_hide (WID ("opacity_label")); - engine = gconf_engine_get_default (); gconf_engine_set_bool (engine, "enabled", TRUE, NULL); diff --git a/capplets/background/background-properties.glade b/capplets/background/background-properties.glade index c2a2253ff..156493dfd 100644 --- a/capplets/background/background-properties.glade +++ b/capplets/background/background-properties.glade @@ -35,7 +35,7 @@ 10 3 2 - 5 + 2 yes @@ -201,7 +201,7 @@ 1 - 5 + 2 0 1 0 @@ -210,86 +210,6 @@ - - - - Opacity (percent): - GTK_JUSTIFY_CENTER - no - 1 - 0.5 - 0 - 0 - yes - - - 2 - 3 - 1 - 2 - 0 - 0 - fill - - - - - - - 7.45058e-09 - 0.5 - 0.5 - 1 - yes - - - - yes - 1 - 0 - yes - GTK_UPDATE_ALWAYS - no - no - yes - 100 0 10000 1 10 10 - - - - - 3 - 4 - 1 - 2 - 0 - 0 - expand|fill - - - - - - - - GTK_JUSTIFY_CENTER - no - 0 - 0.5 - 0 - 0 - yes - - - 4 - 5 - 1 - 2 - 0 - 0 - fill - - - diff --git a/capplets/background/background-properties.glade1 b/capplets/background/background-properties.glade1 index 67245aef9..8fa7e407f 100644 --- a/capplets/background/background-properties.glade1 +++ b/capplets/background/background-properties.glade1 @@ -49,7 +49,7 @@ table1 10 2 - 5 + 2 False 10 3 @@ -149,7 +149,7 @@ Stretched False 1 - 5 + 2 0 1 0 @@ -173,99 +173,6 @@ Stretched - - - GtkLabel - opacity_label - - GTK_JUSTIFY_CENTER - False - 1 - 0.5 - 0 - 0 - - 2 - 3 - 1 - 2 - 0 - 0 - False - False - False - False - True - False - - - - - GtkAlignment - alignment2 - 7.45058e-09 - 0.5 - 0.5 - 1 - - 3 - 4 - 1 - 2 - 0 - 0 - True - False - False - False - True - False - - - - GtkSpinButton - opacity_spin - True - 1 - 0 - True - GTK_UPDATE_ALWAYS - False - False - 100 - 0 - 10000 - 1 - 10 - 10 - - - - - GtkLabel - label18 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 - 0 - 0 - - 4 - 5 - 1 - 2 - 0 - 0 - False - False - False - False - True - False - -