]> git.0d.be Git - empathy.git/commitdiff
Merge branch 'send-video-576394'
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 23 Apr 2009 16:44:50 +0000 (17:44 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 23 Apr 2009 16:44:50 +0000 (17:44 +0100)
empathy.doap
libempathy-gtk/empathy-contact-widget.c

index 7b5e7564257500f8f47b82272d0b7655acdf0f14..acd6494bc7f391a1a8bf116f9013f2c66ae05d36 100644 (file)
@@ -6,6 +6,7 @@
          xmlns="http://usefulinc.com/ns/doap#">
   <name xml:lang="en">Empathy Instant Messenger</name>
   <shortdesc xml:lang="en">Send and receive instant messages</shortdesc>
+  <category rdf:resource="http://api.gnome.org/doap-extensions#desktop" />
 
   <homepage rdf:resource="http://live.gnome.org/Empathy" />
   <mailing-list rdf:resource="http://lists.freedesktop.org/mailman/listinfo/telepathy" />
index c78aafeaaad1acce3127b265b1173c681a616bdc..0821066fa55bb2d724f76e816c291910ef7ada63 100644 (file)
@@ -234,7 +234,11 @@ empathy_contact_widget_new (EmpathyContact *contact,
   contact_widget_client_setup (information);
 
   if (contact != NULL)
-      contact_widget_set_contact (information, contact);
+    contact_widget_set_contact (information, contact);
+
+  else if (information->flags & EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT ||
+      information->flags & EMPATHY_CONTACT_WIDGET_EDIT_ID)
+    contact_widget_change_contact (information);
 
   return empathy_builder_unref_and_keep_widget (gui,
     information->vbox_contact_widget);
@@ -561,7 +565,6 @@ contact_widget_contact_setup (EmpathyContactWidget *information)
     {
       information->widget_account = empathy_account_chooser_new ();
 
-      contact_widget_change_contact (information);
       g_signal_connect_swapped (information->widget_account, "changed",
             G_CALLBACK (contact_widget_change_contact),
             information);