]> Pileus Git - ~andy/gtk/commit
Bug 609622 - disappearing statusicon
authorHans Breuer <hans@breuer.org>
Sun, 7 Nov 2010 20:19:48 +0000 (21:19 +0100)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 8 Nov 2010 02:31:03 +0000 (11:31 +0900)
commit017f637a765781518397c098e9b734a933e8ddfe
treeb9bef38e16362d605c73e782c46dc15ce1001b78
parent0b749700e6f53cb1378d73c343abfd92f41d0936
Bug 609622 - disappearing statusicon

Windows 7 is managing status icon visibility across process lifetime,
which did not work with GTK+ create icons. Apparently the mechanism
does not require use of new API (like suggested by MSDN), but it is
enough to give a "unique" tooltip at creation time.
Formerly this initial tooltip was not set at all, later setting via
gtk_status_icon_set_tooltip_text() is not enough, but luckily
different follow-up tooltips don't disturb the intended behavior.
(cherry picked from commit ae0544c636c72753098b698e4951897c609a75b6)
(cherry picked from commit 8a9d458bafe368335d0acca2c324f878ee64463f)
gtk/gtkstatusicon.c