diff options
author | Jonas Bonn <jonas@southpole.se> | 2010-03-05 19:55:25 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-27 22:59:58 +0800 |
commit | 6da94f6bce71e0d2c1b44260da986eecd089defa (patch) | |
tree | 73d11d049066e4cd14e13cd815ff6df642c088f8 /libempathy/empathy-chatroom.h | |
parent | 2f9166bf42462e44b40462cbd9fc562f6cf507af (diff) | |
download | gsoc2013-empathy-6da94f6bce71e0d2c1b44260da986eecd089defa.tar gsoc2013-empathy-6da94f6bce71e0d2c1b44260da986eecd089defa.tar.gz gsoc2013-empathy-6da94f6bce71e0d2c1b44260da986eecd089defa.tar.bz2 gsoc2013-empathy-6da94f6bce71e0d2c1b44260da986eecd089defa.tar.lz gsoc2013-empathy-6da94f6bce71e0d2c1b44260da986eecd089defa.tar.xz gsoc2013-empathy-6da94f6bce71e0d2c1b44260da986eecd089defa.tar.zst gsoc2013-empathy-6da94f6bce71e0d2c1b44260da986eecd089defa.zip |
Add option to make chatroom "always urgent" (#611894)
Often a user wants to be immediately notified of posts to a chatroom even when
the post does not address them directly by name. This patch adds a room
option to make all posts to the room "urgent", meaning that the system-specific
urgency action should be taken -- notification, window urgency hint, etc.
Two specific use cases for when one may want this:
i) Low-traffic rooms (so that one does not have to go check the room all the
time)
ii) Error-logging room (room to which errors from some other system(s) are
logged)
The "always urgent" option is off by default when joining a room.
Diffstat (limited to 'libempathy/empathy-chatroom.h')
-rw-r--r-- | libempathy/empathy-chatroom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy/empathy-chatroom.h b/libempathy/empathy-chatroom.h index 3048aded7..f86f8ca9e 100644 --- a/libempathy/empathy-chatroom.h +++ b/libempathy/empathy-chatroom.h @@ -89,6 +89,9 @@ void empathy_chatroom_set_tp_chat (EmpathyChatroom *chatroom, gboolean empathy_chatroom_is_favorite (EmpathyChatroom *chatroom); void empathy_chatroom_set_favorite (EmpathyChatroom *chatroom, gboolean favorite); +gboolean empathy_chatroom_is_always_urgent (EmpathyChatroom *chatroom); +void empathy_chatroom_set_always_urgent (EmpathyChatroom *chatroom, + gboolean always_urgent); G_END_DECLS |