[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 02/15: Weird workaround to fix popup not always showing...
    noreply at xfce.org 
    noreply at xfce.org
       
    Wed Jun  1 22:39:55 CEST 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
schuellerf pushed a commit to branch master
in repository panel-plugins/xfce4-clipman-plugin.
commit aa393454698f62a6fa2cc31595498e40d8b1d2c2
Author: Florian Schüller <florian.schueller at gmail.com>
Date:   Tue May 24 22:13:31 2016 +0200
    Weird workaround to fix popup not always showing...
---
 panel-plugin/plugin.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/panel-plugin/plugin.c b/panel-plugin/plugin.c
index 0e1ba4d..dbf604f 100644
--- a/panel-plugin/plugin.c
+++ b/panel-plugin/plugin.c
@@ -362,6 +362,7 @@ plugin_popup_menu (MyPlugin *plugin)
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   gtk_menu_set_screen (GTK_MENU (plugin->menu), gtk_status_icon_get_screen (plugin->status_icon));
 G_GNUC_END_IGNORE_DEPRECATIONS
+  usleep(100000);
   gtk_menu_popup (GTK_MENU (plugin->menu), NULL, NULL,
                   plugin->menu_position_func, plugin->status_icon,
                   0, gtk_get_current_event_time ());
-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
    
    
More information about the Xfce4-commits
mailing list