diff options
author | Ted Gould <ted@gould.cx> | 2012-01-30 22:52:41 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-01-30 22:52:41 -0600 |
commit | ea6c887b21f216a3bfca55a650468ce027c47f73 (patch) | |
tree | c90bc0936c301540b87b3c3dd6562e1c80e9359e /tests/test-libappindicator.c | |
parent | d006f9d8b40a0a6dd2da09cf41d939787d0505ea (diff) | |
parent | f6e9dcf3f3314038571798a7b6ba27c2d32b50b1 (diff) | |
download | libayatana-appindicator-ea6c887b21f216a3bfca55a650468ce027c47f73.tar.gz libayatana-appindicator-ea6c887b21f216a3bfca55a650468ce027c47f73.tar.bz2 libayatana-appindicator-ea6c887b21f216a3bfca55a650468ce027c47f73.zip |
Add the ability to set and export the title of the app indicator
Diffstat (limited to 'tests/test-libappindicator.c')
-rw-r--r-- | tests/test-libappindicator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-libappindicator.c b/tests/test-libappindicator.c index cadf783..7afd3ba 100644 --- a/tests/test-libappindicator.c +++ b/tests/test-libappindicator.c @@ -123,10 +123,12 @@ test_libappindicator_init_set_props (void) app_indicator_set_status(ci, APP_INDICATOR_STATUS_ACTIVE); app_indicator_set_attention_icon(ci, "my-attention-name"); + app_indicator_set_title(ci, "My Title"); g_assert(!g_strcmp0("my-id", app_indicator_get_id(ci))); g_assert(!g_strcmp0("my-name", app_indicator_get_icon(ci))); g_assert(!g_strcmp0("my-attention-name", app_indicator_get_attention_icon(ci))); + g_assert(!g_strcmp0("My Title", app_indicator_get_title(ci))); g_assert(app_indicator_get_status(ci) == APP_INDICATOR_STATUS_ACTIVE); g_assert(app_indicator_get_category(ci) == APP_INDICATOR_CATEGORY_APPLICATION_STATUS); |