handle GTK_RESPONSE_DELETE_EVENT

Mon Apr  1 19:19:39 2002  Jonathan Blandford  <jrb@redhat.com>

	* background-properties-capplet.c (dialog_button_clicked_cb):
	handle GTK_RESPONSE_DELETE_EVENT

	* Makefile.am (bin_PROGRAMS):
	s/gnome2-background-properties/gnome-background-properties
This commit is contained in:
Jonathan Blandford 2002-04-02 00:27:40 +00:00 committed by Jonathan Blandford
parent c9c20f0fc0
commit 882a14730b
3 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,12 @@
Mon Apr 1 19:19:39 2002 Jonathan Blandford <jrb@redhat.com>
* background-properties-capplet.c (dialog_button_clicked_cb):
handle GTK_RESPONSE_DELETE_EVENT
* Makefile.am (bin_PROGRAMS):
s/gnome2-background-properties/gnome-background-properties
2002-03-28 Richard Hestilow <hestilow@ximian.com>
* background-properties-capplet.c (create_dialog),

View file

@ -1,7 +1,7 @@
bin_PROGRAMS = gnome2-background-properties
bin_PROGRAMS = gnome-background-properties
gnome2_background_properties_LDADD = $(GNOMECC_CAPPLETS_LIBS) $(top_builddir)/libbackground/libbackground.la
gnome2_background_properties_SOURCES = background-properties-capplet.c
gnome_background_properties_LDADD = $(GNOMECC_CAPPLETS_LIBS) $(top_builddir)/libbackground/libbackground.la
gnome_background_properties_SOURCES = background-properties-capplet.c
@INTLTOOL_DESKTOP_RULE@

View file

@ -448,6 +448,7 @@ dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *c
{
switch (response_id) {
case GTK_RESPONSE_CLOSE:
case GTK_RESPONSE_DELETE_EVENT:
gtk_main_quit ();
break;
}