Connect the destroy signal

2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (main): Connect the destroy
	signal

	* background.schema: Fix type on opacity schema
This commit is contained in:
Bradford Hovinen 2001-12-07 19:56:23 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 8133132cd2
commit bf475e9374
3 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,10 @@
2001-12-07 Bradford Hovinen <hovinen@ximian.com>
* background-properties-capplet.c (main): Connect the destroy
signal
* background.schema: Fix type on opacity schema
* background-properties-capplet.c (main): Remove use of
capplet_init, instead do the initialization ourselves (note: this
means we are no longer a Bonobo control)

View file

@ -300,6 +300,7 @@ main (int argc, char **argv)
dialog = gnome_dialog_new (_("Background properties"), GTK_STOCK_APPLY, GTK_STOCK_CLOSE, NULL);
g_signal_connect (G_OBJECT (dialog), "clicked", (GCallback) dialog_button_clicked_cb, changeset);
g_signal_connect (G_OBJECT (dialog), "destroy", (GCallback) gtk_main_quit, NULL);
gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), widget, TRUE, TRUE, GNOME_PAD_SMALL);
gtk_widget_show_all (dialog);

View file

@ -71,7 +71,7 @@
<key>/schemas/background-properties/opacity</key>
<applyto>/background-properties/opacity</applyto>
<owner>background-properties</owner>
<type>bool</type>
<type>int</type>
<default>test</default>
<locale name="C">
<short></short>