empathy r1539 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1539 - trunk/libempathy
- Date: Mon, 13 Oct 2008 07:53:31 +0000 (UTC)
Author: xclaesse
Date: Mon Oct 13 07:53:31 2008
New Revision: 1539
URL: http://svn.gnome.org/viewvc/empathy?rev=1539&view=rev
Log:
auto-connect implies favorite
Modified:
trunk/libempathy/empathy-chatroom.c
Modified: trunk/libempathy/empathy-chatroom.c
==============================================================================
--- trunk/libempathy/empathy-chatroom.c (original)
+++ trunk/libempathy/empathy-chatroom.c Mon Oct 13 07:53:31 2008
@@ -226,6 +226,11 @@
break;
case PROP_FAVORITE:
priv->favorite = g_value_get_boolean (value);
+ if (!priv->favorite)
+ {
+ empathy_chatroom_set_auto_connect (EMPATHY_CHATROOM (object),
+ FALSE);
+ }
break;
case PROP_TP_CHANNEL:
if (priv->tp_channel != NULL)
@@ -387,6 +392,12 @@
priv->auto_connect = auto_connect;
+ if (priv->auto_connect)
+ {
+ /* auto_connect implies favorite */
+ priv->favorite = TRUE;
+ }
+
g_object_notify (G_OBJECT (chatroom), "auto-connect");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]