diff options
author | Vincent Untz <[email protected]> | 2012-02-02 09:12:03 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-04-26 13:01:37 +0200 |
commit | b6372ca5fab62bcd963ee2a01d82955f93829e01 (patch) | |
tree | 293eb17178082261521175cd8b431af7f8194772 /libmate-panel-applet/mate-panel-applet.h | |
parent | 45b25410cddde852554b3153e81ad59a5e6722ad (diff) | |
download | mate-panel-b6372ca5fab62bcd963ee2a01d82955f93829e01.tar.bz2 mate-panel-b6372ca5fab62bcd963ee2a01d82955f93829e01.tar.xz |
libpanel-applet: Add panel_applet_setup_menu_from_resource() API
Add API to be able to use the new GResource framework.
origin commit:
https://git.gnome.org/browse/gnome-panel/commit/?id=182cefd
Diffstat (limited to 'libmate-panel-applet/mate-panel-applet.h')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.h b/libmate-panel-applet/mate-panel-applet.h index f231cb80..931a681f 100644 --- a/libmate-panel-applet/mate-panel-applet.h +++ b/libmate-panel-applet/mate-panel-applet.h @@ -111,6 +111,9 @@ void mate_panel_applet_request_focus(MatePanelApplet* applet, guint32 timestamp) void mate_panel_applet_setup_menu(MatePanelApplet* applet, const gchar* xml, GtkActionGroup* action_group); void mate_panel_applet_setup_menu_from_file(MatePanelApplet* applet, const gchar* filename, GtkActionGroup* action_group); +void mate_panel_applet_setup_menu_from_resource (MatePanelApplet *applet, + const gchar *resource_path, + GtkActionGroup *action_group); int mate_panel_applet_factory_main(const gchar* factory_id,gboolean out_process, GType applet_type, MatePanelAppletFactoryCallback callback, gpointer data); |