gtk2/gtk/deprecated
Luca Bacci 6dc2f6f026 GtkStatusIcon/w32: Also set the tooltip on taskbar_created_msg
When explorer.exe creates a taskbar it broadcasts a "TaskbarCreated"
message to all toplevels. Applications, By handling that message,
are able to re-create the icons to be displayed in the taskbar.

Explorer creates a new taskbar in two circumstances:
A) when explorer starts up
B) when the DPI of the monitor changes

A) happens either when explorer.exe is started for the first time at
   logon, or when it is restarted after being terminated.
B) happens when the user changes the DPI preference of the active
   monitor where the desktop is displayed, or if the desktop is moved
   to a monitor with different DPI.

Currently, this message is handled in Gtk and icons are re-created.
However the current implementation has a small issue in that it
doesn't set the tooltip on the new icons, so tooltips get lost
after re-creation.

The tooltip is important because Windows uses it for identification
of taskbar icons and for storing and applying user preferences. For
an explanation of that see:
https://bugzilla.gnome.org/show_bug.cgi?id=609622

With this commit the tooltip is correctly applied to new taskbar
icons when handling taskbar_created_msg.

See Merge Request !1003
2019-08-02 16:58:25 +00:00
..
gtkaction.c marshallers: ensure g_cclosure_marshal_VOID__VOIDv is used 2019-05-29 13:30:15 -07:00
gtkaction.h
gtkactiongroup.c Use NULL for generic marshallers in g_signal_new() 2016-08-29 16:20:54 +02:00
gtkactiongroup.h
gtkactivatable.c
gtkactivatable.h
gtkalignment.c gtk: Remove all gtk_widget_set_redraw_on_allocate() calls 2019-03-27 00:02:34 +01:00
gtkalignment.h
gtkarrow.c docs: Drop deprecated symbolic icon names 2015-07-04 19:34:23 +01:00
gtkarrow.h
gtkcolorsel.c Use NULL for generic marshallers in g_signal_new() 2016-08-29 16:20:54 +02:00
gtkcolorsel.h
gtkcolorseldialog.c
gtkcolorseldialog.h
gtkfontsel.c
gtkfontsel.h
gtkgradient.c
gtkgradient.h
gtkgradientprivate.h
gtkhandlebox.c Use NULL for generic marshallers in g_signal_new() 2016-08-29 16:20:54 +02:00
gtkhandlebox.h
gtkhbbox.c
gtkhbbox.h
gtkhbox.c
gtkhbox.h
gtkhpaned.c
gtkhpaned.h
gtkhscale.c
gtkhscale.h
gtkhscrollbar.c
gtkhscrollbar.h
gtkhseparator.c
gtkhseparator.h
gtkhsv.c Use NULL for generic marshallers in g_signal_new() 2016-08-29 16:20:54 +02:00
gtkhsv.h
gtkiconfactory.c Mention GtkIconSize in all docs where the argument/return is annotated as taking an int instead of GtkIconSize 2016-01-04 11:56:44 +01:00
gtkiconfactory.h iconfactory: Move private functions into private header 2015-12-09 13:30:40 +01:00
gtkiconfactoryprivate.h iconhelper: Pass only the CssStyle when loading iconsets 2015-12-09 13:30:40 +01:00
gtkimagemenuitem.c menuitem: really ignore horizontal-padding 2015-12-19 21:21:16 -08:00
gtkimagemenuitem.h
gtkmisc.c gtk: Stop setting GDK_EXPOSURE_MASK on random widgets 2015-09-14 11:01:13 +02:00
gtkmisc.h
gtknumerableicon.c Add some missing (nullable) annotations 2016-09-22 14:02:07 +02:00
gtknumerableicon.h
gtknumerableiconprivate.h
gtkradioaction.c gtk: rely on default marshallers 2019-05-31 11:12:29 -07:00
gtkradioaction.h
gtkrc.c Code cleanup 2015-07-31 22:23:35 -04:00
gtkrc.h
gtkrecentaction.c Assign a recent manager if one is set 2016-04-10 18:35:38 +01:00
gtkrecentaction.h
gtkstatusicon-quartz.c Drop some unused debug printfs 2016-02-28 21:40:23 -05:00
gtkstatusicon.c GtkStatusIcon/w32: Also set the tooltip on taskbar_created_msg 2019-08-02 16:58:25 +00:00
gtkstatusicon.h gtk: Fix reserved pointers 2018-05-07 22:02:56 +02:00
gtkstock.c Stock: Emphasise deprecation; explain alternatives 2018-04-22 16:11:01 +01:00
gtkstock.h
gtkstyle.c docs: Update the deprecation annotation for gtk_paint_spinner() 2017-10-10 10:20:53 +01:00
gtkstyle.h Amend deprecation warnings for GtkStyle API 2015-05-14 17:00:14 +01:00
gtkstyleproperties.c styleproperties: Really don't use 'i' in inner loop 2016-03-20 13:43:46 +01:00
gtkstyleproperties.h
gtkstylepropertiesprivate.h
gtksymboliccolor.c
gtksymboliccolor.h
gtksymboliccolorprivate.h
gtktable.c gtk: Remove all gtk_widget_set_redraw_on_allocate() calls 2019-03-27 00:02:34 +01:00
gtktable.h
gtktearoffmenuitem.c
gtktearoffmenuitem.h
gtkthemingengine.c Add some missing (nullable) annotations 2016-09-22 14:02:07 +02:00
gtkthemingengine.h
gtktoggleaction.c marshallers: ensure g_cclosure_marshal_VOID__VOIDv is used 2019-05-29 13:30:15 -07:00
gtktoggleaction.h
gtktrayicon-x11.c Add gdk_x11_display_get_parent_relative_pattern(). 2018-12-12 02:56:35 +01:00
gtktrayicon.h gtk: Fix reserved pointers 2018-05-07 22:02:56 +02:00
gtkuimanager.c gtk: rely on default marshallers 2019-05-31 11:12:29 -07:00
gtkuimanager.h
gtkvbbox.c
gtkvbbox.h
gtkvbox.c
gtkvbox.h
gtkvpaned.c
gtkvpaned.h
gtkvscale.c
gtkvscale.h
gtkvscrollbar.c
gtkvscrollbar.h
gtkvseparator.c
gtkvseparator.h
Makefile.inc iconfactory: Move private functions into private header 2015-12-09 13:30:40 +01:00
meson.build meson: Sync build files with master and update to 3.24 2019-04-11 16:45:27 +02:00