Commit 83d3ce65 authored by Tim Janik's avatar Tim Janik

handle WM delete of toolbox correctly. (gdisplay_delete): don't close


        * app/interface.c (toolbox_delete): handle WM delete of toolbox
        correctly.
        (gdisplay_delete): don't close image window without confirmation.
-timj
parent 9610c8c9
Sun Mar 15 03:54:58 1998 Tim Janik <timj@gimp.org>
* app/interface.c (toolbox_delete): handle WM delete of toolbox
correctly.
(gdisplay_delete): don't close image window without confirmation.
Sat Mar 14 18:38:26 PST 1998 Manish Singh <yosh@gimp.org>
* app/iscissors.c: new, improved, still buggy iscissors!
......
......@@ -572,7 +572,7 @@ really_quit_callback (GtkButton *button,
}
static void
really_quit_cancel_callback (GtkButton *button,
really_quit_cancel_callback (GtkWidget *widget,
GtkWidget *dialog)
{
menus_set_sensitive ("<Toolbox>/File/Quit", TRUE);
......@@ -585,7 +585,7 @@ really_quit_delete_callback (GtkWidget *widget,
GdkEvent *event,
gpointer client_data)
{
really_quit_cancel_callback (GTK_BUTTON(widget), (GtkWidget *) client_data);
really_quit_cancel_callback (widget, (GtkWidget *) client_data);
return TRUE;
}
......
......@@ -287,9 +287,9 @@ gdisplay_delete_warning_callback (GtkWidget *widget,
GdkEvent *event,
gpointer client_data)
{
gdisplay_cancel_warning_callback (widget, client_data);
menus_set_sensitive ("<Image>/File/Close", TRUE);
return TRUE;
return FALSE;
}
static void
......
......@@ -227,9 +227,9 @@ tools_button_press (GtkWidget *w,
static gint
toolbox_delete (GtkWidget *w, GdkEvent *e, gpointer data)
{
app_exit (FALSE);
app_exit (0);
return FALSE;
return TRUE;
}
static void
......@@ -252,7 +252,7 @@ gdisplay_delete (GtkWidget *w,
{
gdisplay_close_window (gdisp, FALSE);
return FALSE;
return TRUE;
}
static void
......
......@@ -227,9 +227,9 @@ tools_button_press (GtkWidget *w,
static gint
toolbox_delete (GtkWidget *w, GdkEvent *e, gpointer data)
{
app_exit (FALSE);
app_exit (0);
return FALSE;
return TRUE;
}
static void
......@@ -252,7 +252,7 @@ gdisplay_delete (GtkWidget *w,
{
gdisplay_close_window (gdisp, FALSE);
return FALSE;
return TRUE;
}
static void
......
......@@ -287,9 +287,9 @@ gdisplay_delete_warning_callback (GtkWidget *widget,
GdkEvent *event,
gpointer client_data)
{
gdisplay_cancel_warning_callback (widget, client_data);
menus_set_sensitive ("<Image>/File/Close", TRUE);
return TRUE;
return FALSE;
}
static void
......
......@@ -227,9 +227,9 @@ tools_button_press (GtkWidget *w,
static gint
toolbox_delete (GtkWidget *w, GdkEvent *e, gpointer data)
{
app_exit (FALSE);
app_exit (0);
return FALSE;
return TRUE;
}
static void
......@@ -252,7 +252,7 @@ gdisplay_delete (GtkWidget *w,
{
gdisplay_close_window (gdisp, FALSE);
return FALSE;
return TRUE;
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment