diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-04-25 09:52:50 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-04-25 09:52:50 +0000 |
commit | 9fbbe97c41650969de04375fb400a81dcc024415 (patch) | |
tree | c6d50e47abf1f01d996cdb71930e2bbcff40ec00 /src/notificationwindow.c | |
parent | 485c9f7ac639b3816d00499d0dcd78f2dd287920 (diff) |
src/notificationwindow.c: set opacity on mouse over.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3402 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/notificationwindow.c')
-rw-r--r-- | src/notificationwindow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/notificationwindow.c b/src/notificationwindow.c index 13ef5527..0b445168 100644 --- a/src/notificationwindow.c +++ b/src/notificationwindow.c @@ -322,6 +322,9 @@ static gboolean nwin_motion_notify(GtkWidget *widget, GdkEventMotion *event, } notify_window.fade_count = 0; notify_window.notify_event_count = 0; +#if GTK_CHECK_VERSION(2, 12, 0) + gtk_window_set_opacity(GTK_WINDOW(notify_window.window), 1.0); +#endif gtk_window_move(GTK_WINDOW(notify_window.window), notify_window.x, notify_window.y); if (notify_window.timeout > 0) { |