aboutsummaryrefslogtreecommitdiff
path: root/src/manage_window.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-06-15 04:19:22 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-06-15 04:19:22 +0000
commitc5c1beae3784038ee5bd59eba097a6e6b2712de0 (patch)
treeb62bd15dfa6f6f3e06ca9569af41a05f6adf1541 /src/manage_window.c
parent79651dc245a329222950164ddd6e48504eab71f5 (diff)
fixes invisible dialog when main window is hidden.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1771 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/manage_window.c')
-rw-r--r--src/manage_window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/manage_window.c b/src/manage_window.c
index f50f50b0..5b618e6f 100644
--- a/src/manage_window.c
+++ b/src/manage_window.c
@@ -84,8 +84,11 @@ void manage_window_set_transient(GtkWindow *window)
/* debug_print("manage_window_set_transient(): window = %p, focus_window = %p\n",
window, focus_window); */
- if (window && focus_window)
+ if (window && focus_window) {
+ if (!gtk_window_is_active(GTK_WINDOW(focus_window)))
+ gtkut_window_popup(focus_window);
gtk_window_set_transient_for(window, GTK_WINDOW(focus_window));
+ }
}
GtkWidget *manage_window_get_focus_window(void)