quit zenity on dialog response (Fixes bug #336505).
2006-03-31 Lucas Rocha <lucasr@gnome.org> * src/about.c (zenity_about_dialog_response): quit zenity on dialog response (Fixes bug #336505).
This commit is contained in:
parent
6a84991557
commit
a8363ee219
@ -1,3 +1,8 @@
|
||||
2006-03-31 Lucas Rocha <lucasr@gnome.org>
|
||||
|
||||
* src/about.c (zenity_about_dialog_response): quit zenity
|
||||
on dialog response (Fixes bug #336505).
|
||||
|
||||
2006-03-23 Lucas Rocha <lucasr@gnome.org>
|
||||
|
||||
* src/fileselection.c, zenity.h, option.c: add
|
||||
|
@ -292,7 +292,6 @@ zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data)
|
||||
switch (response) {
|
||||
case GTK_RESPONSE_CLOSE:
|
||||
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK);
|
||||
gtk_main_quit ();
|
||||
break;
|
||||
|
||||
default:
|
||||
@ -300,6 +299,8 @@ zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data)
|
||||
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_ESC);
|
||||
break;
|
||||
}
|
||||
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user