Really override enabled this time. Really.

2001-08-13  Richard Hestilow  <hestilow@ximian.com>

	* background-properties-capplet.c (setup_dialog): Really
	override enabled this time. Really.
This commit is contained in:
Richard Hestilow 2001-08-13 19:35:41 +00:00 committed by Rachel Hestilow
parent 199846f5c0
commit 803f8907e8
3 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-08-13 Richard Hestilow <hestilow@ximian.com>
* background-properties-capplet.c (setup_dialog): Really
override enabled this time. Really.
2001-08-13 Richard Hestilow <hestilow@ximian.com>
* applier.c (applier_apply_prefs): Only draw disabled message

View file

@ -27,7 +27,7 @@
#include <gnome.h>
#include <bonobo.h>
#include <bonobo/bonobo-property-bag-client.h>
#include <glade/glade.h>
#include <gtk/gtksignal.h>
#include "capplet-util.h"
@ -236,6 +236,7 @@ setup_dialog (GtkWidget *widget, Bonobo_PropertyBag bag)
gtk_widget_hide (WID ("opacity_spin"));
gtk_widget_hide (WID ("opacity_label"));
bonobo_property_bag_client_set_value_gboolean (bag, "enabled", TRUE, NULL);
bonobo_event_source_client_add_listener (bag, (BonoboListenerCallbackFn) property_change_cb,
NULL, NULL, bag);

View file

@ -121,6 +121,7 @@ preferences_new (void)
GtkObject *object;
object = gtk_type_new (preferences_get_type ());
PREFERENCES (object)->enabled = TRUE;
return object;
}