Updating branch refs/heads/4.10_panel_support to 5f5cd2151d9961c5bc89db983228e4e8074b331f (commit) from 0776b4226b2e2d705ce1c3c4817133c6b0fe9895 (commit)
commit 5f5cd2151d9961c5bc89db983228e4e8074b331f Author: Enrique <cqu...@ovi.com> Date: Tue Sep 18 13:34:58 2012 -0400 Update the tooltip whenever the selected layout changes. Bug 9286. (cherry picked from commit 6a0acf5d78451e4c4648d99a1b7f4c0d52d78a66) panel-plugin/xfce4-xkb-plugin.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/panel-plugin/xfce4-xkb-plugin.c b/panel-plugin/xfce4-xkb-plugin.c index e137ee2..2afc9bb 100644 --- a/panel-plugin/xfce4-xkb-plugin.c +++ b/panel-plugin/xfce4-xkb-plugin.c @@ -420,8 +420,16 @@ xkb_initialize_menu (t_xkb *xkb) void xkb_refresh_gui (t_xkb *xkb) { + GdkDisplay * display; + /* Part of the image may remain visible after display type change */ gtk_widget_queue_draw_area (xkb->btn, 0, 0, xkb->button_hsize, xkb->button_vsize); + + display = gdk_display_get_default(); + if (display) + { + gtk_tooltip_trigger_tooltip_query(display); + } } _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits