summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodney Dawes <dobey@novell.com>2004-08-17 01:16:56 +0000
committerRodney Dawes <dobey@src.gnome.org>2004-08-17 01:16:56 +0000
commite327ad81dbfbe5a333f645e5cacd14057fb82316 (patch)
treeeeb20cdfdafd453cd6b0e21f55f226cf6fab1721
parent1ae435d53c10b103065543efbc77de137898264c (diff)
downloadgnome-control-center-e327ad81dbfbe5a333f645e5cacd14057fb82316.tar.gz
Handle the GTK_RESPONSE_DELETE_EVENT case as well
2004-08-16 Rodney Dawes <dobey@novell.com> * gnome-wp-capplet.c (wallpaper_properties_clicked): Handle the GTK_RESPONSE_DELETE_EVENT case as well Fixes #150273
-rw-r--r--capplets/background/ChangeLog7
-rw-r--r--capplets/background/gnome-wp-capplet.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/capplets/background/ChangeLog b/capplets/background/ChangeLog
index 846339d93..c053246b4 100644
--- a/capplets/background/ChangeLog
+++ b/capplets/background/ChangeLog
@@ -1,3 +1,10 @@
+2004-08-16 Rodney Dawes <dobey@novell.com>
+
+ * gnome-wp-capplet.c (wallpaper_properties_clicked):
+ Handle the GTK_RESPONSE_DELETE_EVENT case as well
+
+ Fixes #150273
+
2004-07-19 Rodney Dawes <dobey@novell.com>
* gnome-wp-item.c (gnome_wp_remove_wallpaper, gnome_wp_list_sort):
diff --git a/capplets/background/gnome-wp-capplet.c b/capplets/background/gnome-wp-capplet.c
index 880bba4a0..491a9fae9 100644
--- a/capplets/background/gnome-wp-capplet.c
+++ b/capplets/background/gnome-wp-capplet.c
@@ -531,6 +531,7 @@ static void wallpaper_properties_clicked (GtkWidget * dialog,
wp_properties_help (GTK_WINDOW (dialog),
"user-guide.xml", "goscustdesk-7");
break;
+ case GTK_RESPONSE_DELETE_EVENT:
case GTK_RESPONSE_CLOSE: {
gtk_widget_destroy (dialog);
gnome_wp_main_quit (capplet);