diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-08-29 20:23:30 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-08-29 20:23:30 +0200 |
commit | 45e8aac6f16adb2da8372dbf31107a155c3e1812 (patch) | |
tree | a840b6f1ed931a2964a8e9540ca5975f52bbfcad /libmessaging-menu/messaging-menu-message.c | |
parent | e1a7aea239834a4238e58c22c9121a4ec0e02a9d (diff) | |
download | ayatana-indicator-messages-45e8aac6f16adb2da8372dbf31107a155c3e1812.tar.gz ayatana-indicator-messages-45e8aac6f16adb2da8372dbf31107a155c3e1812.tar.bz2 ayatana-indicator-messages-45e8aac6f16adb2da8372dbf31107a155c3e1812.zip |
libmessaging-menu: default MessagingMenuMessage::draws-attention to TRUE
In most cases, apps will want to draw the user's attention when they add a
message to the menu.
Diffstat (limited to 'libmessaging-menu/messaging-menu-message.c')
-rw-r--r-- | libmessaging-menu/messaging-menu-message.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmessaging-menu/messaging-menu-message.c b/libmessaging-menu/messaging-menu-message.c index b81cbea..5b9ebf5 100644 --- a/libmessaging-menu/messaging-menu-message.c +++ b/libmessaging-menu/messaging-menu-message.c @@ -241,7 +241,7 @@ messaging_menu_message_class_init (MessagingMenuMessageClass *klass) properties[PROP_DRAWS_ATTENTION] = g_param_spec_boolean ("draws-attention", "Draws attention", "Whether the message should draw attention", - FALSE, + TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); g_object_class_install_properties (klass, NUM_PROPERTIES, properties); @@ -270,6 +270,7 @@ messaging_menu_message_class_init (MessagingMenuMessageClass *klass) static void messaging_menu_message_init (MessagingMenuMessage *self) { + self->draws_attention = TRUE; } /** |