diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-30 09:54:26 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-30 09:54:26 +0000 |
commit | f77f90cbab5a6a6123c878179419c2c512ea957d (patch) | |
tree | 6dee3dff0a718d2cf1076caefe217f23df08216b /src | |
parent | 0d083af751d0d2c971f89bf384c4d399a7b34772 (diff) |
fixed a transient window problem.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@300 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/inc.c | 2 | ||||
-rw-r--r-- | src/manage_window.c | 2 | ||||
-rw-r--r-- | src/send_message.c | 1 |
3 files changed, 5 insertions, 0 deletions
@@ -402,6 +402,8 @@ static void inc_progress_dialog_destroy(IncProgressDialog *inc_dialog) inc_dialog_list = g_list_remove(inc_dialog_list, inc_dialog); + manage_window_destroy(inc_dialog->dialog->window, NULL); + main_window_progress_off(inc_dialog->mainwin); progress_dialog_destroy(inc_dialog->dialog); diff --git a/src/manage_window.c b/src/manage_window.c index e001c68d..f50f50b0 100644 --- a/src/manage_window.c +++ b/src/manage_window.c @@ -42,8 +42,10 @@ gint manage_window_focus_out(GtkWidget *widget, GdkEventFocus *event, /* debug_print("Focused window: %p\n", focus_window); */ /* debug_print("Focus out event: window: %p\n", widget); */ +#if 0 if (focus_window == widget) focus_window = NULL; +#endif return FALSE; } diff --git a/src/send_message.c b/src/send_message.c index 4ee079c2..5458751d 100644 --- a/src/send_message.c +++ b/src/send_message.c @@ -586,6 +586,7 @@ static void send_progress_dialog_destroy(SendProgressDialog *dialog) { g_return_if_fail(dialog != NULL); + manage_window_destroy(dialog->dialog->window, NULL); progress_dialog_destroy(dialog->dialog); g_free(dialog); } |