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:
parent
8133132cd2
commit
bf475e9374
3 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,10 @@
|
||||||
2001-12-07 Bradford Hovinen <hovinen@ximian.com>
|
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
|
* background-properties-capplet.c (main): Remove use of
|
||||||
capplet_init, instead do the initialization ourselves (note: this
|
capplet_init, instead do the initialization ourselves (note: this
|
||||||
means we are no longer a Bonobo control)
|
means we are no longer a Bonobo control)
|
||||||
|
|
|
@ -300,6 +300,7 @@ main (int argc, char **argv)
|
||||||
|
|
||||||
dialog = gnome_dialog_new (_("Background properties"), GTK_STOCK_APPLY, GTK_STOCK_CLOSE, NULL);
|
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), "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_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), widget, TRUE, TRUE, GNOME_PAD_SMALL);
|
||||||
gtk_widget_show_all (dialog);
|
gtk_widget_show_all (dialog);
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
<key>/schemas/background-properties/opacity</key>
|
<key>/schemas/background-properties/opacity</key>
|
||||||
<applyto>/background-properties/opacity</applyto>
|
<applyto>/background-properties/opacity</applyto>
|
||||||
<owner>background-properties</owner>
|
<owner>background-properties</owner>
|
||||||
<type>bool</type>
|
<type>int</type>
|
||||||
<default>test</default>
|
<default>test</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short></short>
|
<short></short>
|
||||||
|
|
Loading…
Add table
Reference in a new issue