[Xfce4-commits] <xfce4-xkb-plugin:4.10_panel_support> Update the tooltip whenever the selected layout changes.

Igor Slepchin noreply at xfce.org
Wed Mar 27 00:12:12 CET 2013


Updating branch refs/heads/4.10_panel_support
         to 5f5cd2151d9961c5bc89db983228e4e8074b331f (commit)
       from 0776b4226b2e2d705ce1c3c4817133c6b0fe9895 (commit)

commit 5f5cd2151d9961c5bc89db983228e4e8074b331f
Author: Enrique <cquike at 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);
+    }
 }
 


More information about the Xfce4-commits mailing list