summaryrefslogtreecommitdiff
path: root/common/panel-utils.h
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2010-02-26 14:08:35 +0100
committerNick Schermer <nick@xfce.org>2010-02-26 14:11:57 +0100
commite3178fa31b88c29306d6d892ea36ba79c74412aa (patch)
tree0e4ba653d5b21f238630d6d1ed2f1057e58ba572 /common/panel-utils.h
parent5362a49a7129e15763689c205dc1c8fd6ba2bf8d (diff)
downloadxfce4-panel-e3178fa31b88c29306d6d892ea36ba79c74412aa.tar.gz
Wait for grab when running popup menus at pointer.
Popup scripts doesn't really work if we don't wait until the pointer and keyboard grab is available.
Diffstat (limited to 'common/panel-utils.h')
-rw-r--r--common/panel-utils.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/common/panel-utils.h b/common/panel-utils.h
index b10565be..79c3ee3b 100644
--- a/common/panel-utils.h
+++ b/common/panel-utils.h
@@ -27,13 +27,15 @@
if (xfce_titled_dialog_get_type () == 0) \
return;
-GtkBuilder *panel_utils_builder_new (XfcePanelPlugin *panel_plugin,
- const gchar *buffer,
- gsize length,
- GObject **dialog_return) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
+GtkBuilder *panel_utils_builder_new (XfcePanelPlugin *panel_plugin,
+ const gchar *buffer,
+ gsize length,
+ GObject **dialog_return) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
-void panel_utils_show_help (GtkWindow *parent,
- const gchar *page,
- const gchar *offset);
+void panel_utils_show_help (GtkWindow *parent,
+ const gchar *page,
+ const gchar *offset);
+
+gboolean panel_utils_grab_available (void);
#endif /* !__PANEL_BUILDER_H__ */