[empathy/gnome-3-6] chatroom-manager: save file when only the 'favorite' prop is changed



commit 8fd28512046a9505e31705c9440623a63d719ab4
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Jan 24 15:08:31 2013 +0100

    chatroom-manager: save file when only the 'favorite' prop is changed
    
    Needed to save favorite changes from empathy-chat as it only changes this
    property.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678983

 libempathy/empathy-chatroom-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c
index da3c4e2..f1c7293 100644
--- a/libempathy/empathy-chatroom-manager.c
+++ b/libempathy/empathy-chatroom-manager.c
@@ -199,6 +199,8 @@ add_chatroom (EmpathyChatroomManager *self,
       G_CALLBACK (chatroom_changed_cb), self);
   g_signal_connect (chatroom, "notify::always_urgent",
       G_CALLBACK (chatroom_changed_cb), self);
+  g_signal_connect (chatroom, "notify::favorite",
+      G_CALLBACK (chatroom_changed_cb), self);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]