diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-11-16 14:41:50 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-11-16 14:41:50 +0100 |
commit | b55e637321b0c3fdcb5e8aafab9614f80a3228d3 (patch) | |
tree | d0dd0bfeabb87f1ab0b5c2d12b0843003f675ab7 /src/gactionmuxer.c | |
parent | a44f4a7f0d1918809452da175c5b0585ecd6d951 (diff) | |
download | ayatana-indicator-messages-b55e637321b0c3fdcb5e8aafab9614f80a3228d3.tar.gz ayatana-indicator-messages-b55e637321b0c3fdcb5e8aafab9614f80a3228d3.tar.bz2 ayatana-indicator-messages-b55e637321b0c3fdcb5e8aafab9614f80a3228d3.zip |
Export menu for the phone client
This is a rough first draft: It only fetched the sources and messages from
applications once and doesn't listen for further changes.
This removes all code for the desktop menu for now.
Diffstat (limited to 'src/gactionmuxer.c')
-rw-r--r-- | src/gactionmuxer.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gactionmuxer.c b/src/gactionmuxer.c index 2b1d11a..0f3cda4 100644 --- a/src/gactionmuxer.c +++ b/src/gactionmuxer.c @@ -483,3 +483,11 @@ g_action_muxer_remove (GActionMuxer *muxer, g_clear_object (&muxer->global_actions); } +GActionGroup * +g_action_muxer_get_group (GActionMuxer *muxer, + const gchar *prefix) +{ + g_return_val_if_fail (G_IS_ACTION_MUXER (muxer), NULL); + + return prefix ? g_hash_table_lookup (muxer->groups, prefix) : muxer->global_actions; +} |