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 docs: add Gtk*Class docs 2014-01-20 12:31:21 -05:00
gtkactiongroup.c Use NULL for generic marshallers in g_signal_new() 2016-08-29 16:20:54 +02:00
gtkactiongroup.h docs: add Gtk*Class docs 2014-01-20 12:31:21 -05:00
gtkactivatable.c docs: use proper apostrophe 2014-02-07 13:06:10 -05:00
gtkactivatable.h docs: use proper apostrophe 2014-02-07 13:06:10 -05:00
gtkalignment.c gtk: Remove all gtk_widget_set_redraw_on_allocate() calls 2019-03-27 00:02:34 +01:00
gtkalignment.h Deprecate GtkAligment 2014-05-23 20:31:25 -04:00
gtkarrow.c docs: Drop deprecated symbolic icon names 2015-07-04 19:34:23 +01:00
gtkarrow.h Deprecate GtkArrow 2014-05-13 23:50:13 -04:00
gtkcolorsel.c Use NULL for generic marshallers in g_signal_new() 2016-08-29 16:20:54 +02:00
gtkcolorsel.h gtk: fix annotation syntax and missing some missing annotations 2014-05-27 21:10:32 -07:00
gtkcolorseldialog.c docs: use proper apostrophe 2014-02-07 13:06:10 -05:00
gtkcolorseldialog.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkfontsel.c Avoid some clang compiler warnings 2015-03-22 15:13:32 -04:00
gtkfontsel.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkgradient.c cssvalue: Remove GtkCssDependencies 2015-03-18 15:23:31 +01:00
gtkgradient.h styleproperties: Move into deprecated directory 2014-10-24 21:31:40 +02:00
gtkgradientprivate.h cssvalue: Remove GtkCssDependencies 2015-03-18 15:23:31 +01:00
gtkhandlebox.c Use NULL for generic marshallers in g_signal_new() 2016-08-29 16:20:54 +02:00
gtkhandlebox.h docs: add Gtk*Class docs 2014-01-20 12:31:21 -05:00
gtkhbbox.c docs: use proper quotations instead of '*' 2014-02-07 14:22:39 -05:00
gtkhbbox.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkhbox.c docs: use apostrophes in *n't 2014-02-07 13:32:47 -05:00
gtkhbox.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkhpaned.c Just ignore deprecations inside deprecated/ 2013-05-05 15:38:47 -04:00
gtkhpaned.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkhscale.c gtk: port many nullability annotation fixes from Vala bindings 2014-05-30 13:24:20 -07:00
gtkhscale.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkhscrollbar.c Just ignore deprecations inside deprecated/ 2013-05-05 15:38:47 -04:00
gtkhscrollbar.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkhseparator.c docs: use markdown instead of <note> 2014-02-06 08:01:49 -05:00
gtkhseparator.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkhsv.c Use NULL for generic marshallers in g_signal_new() 2016-08-29 16:20:54 +02:00
gtkhsv.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
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 docs: add Gtk*Class docs 2014-01-20 12:31:21 -05:00
gtkmisc.c gtk: Stop setting GDK_EXPOSURE_MASK on random widgets 2015-09-14 11:01:13 +02:00
gtkmisc.h Deprecate GtkMisc 2014-05-13 08:45:00 -04:00
gtknumerableicon.c Add some missing (nullable) annotations 2016-09-22 14:02:07 +02:00
gtknumerableicon.h Deprecate GtkNumerableIcon 2014-05-11 22:02:32 -04:00
gtknumerableiconprivate.h Deprecate GtkNumerableIcon 2014-05-11 22:02:32 -04:00
gtkradioaction.c gtk: rely on default marshallers 2019-05-31 11:12:29 -07:00
gtkradioaction.h Move wholly deprecated classes to gtk/deprecated/ 2013-07-19 21:39:47 -04:00
gtkrc.c Code cleanup 2015-07-31 22:23:35 -04:00
gtkrc.h docs: enum cleanup 2014-05-20 09:54:01 -04:00
gtkrecentaction.c Assign a recent manager if one is set 2016-04-10 18:35:38 +01:00
gtkrecentaction.h Move wholly deprecated classes to gtk/deprecated/ 2013-07-19 21:39:47 -04:00
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 Improve some GtkStock deprecation notes 2015-03-05 16:07:30 -05:00
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 styleproperties: Move into deprecated directory 2014-10-24 21:31:40 +02:00
gtkstylepropertiesprivate.h styleproperties: Move into deprecated directory 2014-10-24 21:31:40 +02:00
gtksymboliccolor.c cssvalue: Remove GtkCssDependencies 2015-03-18 15:23:31 +01:00
gtksymboliccolor.h styleproperties: Move into deprecated directory 2014-10-24 21:31:40 +02:00
gtksymboliccolorprivate.h deprecations: Move files into deprecated/ dir 2012-11-25 04:16:43 +01:00
gtktable.c gtk: Remove all gtk_widget_set_redraw_on_allocate() calls 2019-03-27 00:02:34 +01:00
gtktable.h docs: enum cleanup 2014-05-20 09:54:01 -04:00
gtktearoffmenuitem.c stylecontext: Split render functions out into gtkrender.[ch] 2014-10-03 06:18:05 +02:00
gtktearoffmenuitem.h docs: add Gtk*Class docs 2014-01-20 12:31:21 -05:00
gtkthemingengine.c Add some missing (nullable) annotations 2016-09-22 14:02:07 +02:00
gtkthemingengine.h styleproperties: Move into deprecated directory 2014-10-24 21:31:40 +02:00
gtktoggleaction.c marshallers: ensure g_cclosure_marshal_VOID__VOIDv is used 2019-05-29 13:30:15 -07:00
gtktoggleaction.h Move wholly deprecated classes to gtk/deprecated/ 2013-07-19 21:39:47 -04:00
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 docs: use more apostrophes 2014-02-07 13:26:12 -05:00
gtkvbbox.c docs: use proper quotations instead of '*' 2014-02-07 14:22:39 -05:00
gtkvbbox.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkvbox.c docs: use apostrophes in *n't 2014-02-07 13:32:47 -05:00
gtkvbox.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkvpaned.c Just ignore deprecations inside deprecated/ 2013-05-05 15:38:47 -04:00
gtkvpaned.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkvscale.c docs: use Returns: consistently 2014-02-19 18:56:05 -05:00
gtkvscale.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkvscrollbar.c Just ignore deprecations inside deprecated/ 2013-05-05 15:38:47 -04:00
gtkvscrollbar.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
gtkvseparator.c Just ignore deprecations inside deprecated/ 2013-05-05 15:38:47 -04:00
gtkvseparator.h Add annotations to gtk headers 2013-05-05 15:38:47 -04:00
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