diff options
| author | Ted Gould <ted@gould.cx> | 2014-09-17 10:54:32 -0500 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2014-09-17 10:54:32 -0500 |
| commit | 3132098cf6e98cb6904d6e25df0267e5a524f22a (patch) | |
| tree | f535196dd084a1c097a43d39f1bceea447b6aeef | |
| parent | 1e43bda7ecea6a658052ae3537acf50df2df60ab (diff) | |
| download | ayatana-indicator-messages-3132098cf6e98cb6904d6e25df0267e5a524f22a.tar.gz ayatana-indicator-messages-3132098cf6e98cb6904d6e25df0267e5a524f22a.tar.bz2 ayatana-indicator-messages-3132098cf6e98cb6904d6e25df0267e5a524f22a.zip | |
Add API for showing data to users
| -rw-r--r-- | src/im-menu.c | 8 | ||||
| -rw-r--r-- | src/im-menu.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/im-menu.c b/src/im-menu.c index a56dacb..0f1e7ca 100644 --- a/src/im-menu.c +++ b/src/im-menu.c @@ -240,3 +240,11 @@ im_menu_insert_item_sorted (ImMenu *menu, g_menu_insert_item (priv->menu, position, item); } + +/* Whether the menu should show extra data on it. Depends on the greeter + status and user settings */ +gboolean +im_menu_show_data (ImMenu *menu) +{ + return TRUE; +} diff --git a/src/im-menu.h b/src/im-menu.h index f67abc8..b76d616 100644 --- a/src/im-menu.h +++ b/src/im-menu.h @@ -64,4 +64,6 @@ void im_menu_insert_item_sorted (ImMenu gint first, gint last); +gboolean im_menu_show_data (ImMenu *menu); + #endif |
