set the presence message as a tooltip on its label
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 6 Jan 2012 14:06:47 +0000 (15:06 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 15 Feb 2012 09:23:06 +0000 (10:23 +0100)
So user can still read the full message if it has been ellipsized.

https://bugzilla.gnome.org/show_bug.cgi?id=663627

src/empathy-accounts-dialog.c

index 13e8f617b59ca341bb3c9af6dabbd7edf1c04f2c..fc3e53a32dbf35235b556ed1396382199632b2fb 100644 (file)
@@ -212,6 +212,9 @@ accounts_dialog_status_infobar_set_message (EmpathyAccountsDialog *dialog,
 
   message_markup = g_markup_printf_escaped ("<i>%s</i>", message);
   gtk_label_set_markup (GTK_LABEL (priv->label_status), message_markup);
+
+  gtk_widget_set_tooltip_text (priv->label_status, message);
+
   g_free (message_markup);
 }