gossip r2823 - in trunk: . src
- From: mr svn gnome org
- To: svn-commits-list gnome org
- Subject: gossip r2823 - in trunk: . src
- Date: Sun, 6 Jul 2008 22:16:30 +0000 (UTC)
Author: mr
Date: Sun Jul 6 22:16:30 2008
New Revision: 2823
URL: http://svn.gnome.org/viewvc/gossip?rev=2823&view=rev
Log:
* src/gossip-chat-window.c: (chat_window_update_menu): Don't use
the _find() function of the chatroom manager to know if a chatroom
is a favourite, instead use the _get_favorite() API for the
chatroom. Now you can add chatrooms as favourites when in the room
from the menu.
Modified:
trunk/ChangeLog
trunk/src/gossip-chat-window.c
Modified: trunk/src/gossip-chat-window.c
==============================================================================
--- trunk/src/gossip-chat-window.c (original)
+++ trunk/src/gossip-chat-window.c Sun Jul 6 22:16:30 2008
@@ -859,7 +859,7 @@
*/
manager = gossip_app_get_chatroom_manager ();
id = gossip_chatroom_get_id (chatroom);
- saved = gossip_chatroom_manager_find (manager, id) != NULL;
+ saved = gossip_chatroom_get_favorite (chatroom);
can_change_subject &= is_connected;
can_change_subject &= gossip_group_chat_contact_can_change_subject (group_chat, own_contact);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]