]> git.0d.be Git - empathy.git/commitdiff
chatroom-manager: save file when only the 'favorite' prop is changed
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 24 Jan 2013 14:08:31 +0000 (15:08 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 24 Jan 2013 14:13:44 +0000 (15:13 +0100)
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

index da3c4e20bc96a055f8231815cdceb2285ae602d8..f1c7293d175a8e989e801a66e2bea83ae6f68446 100644 (file)
@@ -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