diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-11-22 09:02:24 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-11-22 09:02:24 +0000 |
commit | b709c90f16a599e12ed745dff3ed371d82f11200 (patch) | |
tree | 58b5094541aab8e8909cccf3465f0e415cd7bd2c | |
parent | 3fb54173bbd6497234c8821d804a4002d8c2127a (diff) |
win32: fixes window not brought in front with the tray icon click after DnD.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1339 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.ja | 6 | ||||
-rw-r--r-- | src/gtkutils.c | 4 |
3 files changed, 16 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2006-11-22 + * src/gtkutils.c: gtkut_window_popup(): win32: ensure that the window + is displayed at the top (fixes window not brought in front with + the tray icon click after DnD). + +2006-11-22 + * src/printing.[ch] src/summaryview.c: initial implementation of new printing using GtkPrintOperation. diff --git a/ChangeLog.ja b/ChangeLog.ja index 08515a08..515137c7 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,5 +1,11 @@ 2006-11-22 + * src/gtkutils.c: gtkut_window_popup(): win32: ウィンドウが確実に + 前面に表示されるようにした(DnD の後トレイアイコンのクリックで + ウィンドウが前面に出ないことがあったのを修正)。 + +2006-11-22 + * src/printing.[ch] src/summaryview.c: GtkPrintOperation を利用した新しい印刷機能を 実装開始。 diff --git a/src/gtkutils.c b/src/gtkutils.c index bd3eba69..d7c620f7 100644 --- a/src/gtkutils.c +++ b/src/gtkutils.c @@ -880,6 +880,10 @@ void gtkut_window_popup(GtkWidget *window) gtk_window_set_skip_taskbar_hint(GTK_WINDOW(window), FALSE); gtk_window_present(GTK_WINDOW(window)); +#ifdef G_OS_WIN32 + /* ensure that the window is displayed at the top */ + gdk_window_show(window->window); +#endif } gboolean gtkut_window_modal_exist(void) |