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

Igor Slepchin noreply at xfce.org
Wed Sep 19 01:08:02 CEST 2012


Updating branch refs/heads/master
         to 6a0acf5d78451e4c4648d99a1b7f4c0d52d78a66 (commit)
       from 1474d4a846cc20781f99b7718e4b7372d47be55f (commit)

commit 6a0acf5d78451e4c4648d99a1b7f4c0d52d78a66
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.

 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 598d68a..e9b1233 100644
--- a/panel-plugin/xfce4-xkb-plugin.c
+++ b/panel-plugin/xfce4-xkb-plugin.c
@@ -416,9 +416,17 @@ xkb_populate_popup_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);
+    }
 }
 
 static void


More information about the Xfce4-commits mailing list