aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-01-06 22:06:47 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-15 17:23:06 +0800
commit5fd8bf412017f07d25459b0efd72c88a420bd50f (patch)
treebd2255603e050e53eeafde46a06061fb6f2a29b4
parentbe6cefc64d3893274dd907dcc094d6209b54352a (diff)
downloadgsoc2013-empathy-5fd8bf412017f07d25459b0efd72c88a420bd50f.tar
gsoc2013-empathy-5fd8bf412017f07d25459b0efd72c88a420bd50f.tar.gz
gsoc2013-empathy-5fd8bf412017f07d25459b0efd72c88a420bd50f.tar.bz2
gsoc2013-empathy-5fd8bf412017f07d25459b0efd72c88a420bd50f.tar.lz
gsoc2013-empathy-5fd8bf412017f07d25459b0efd72c88a420bd50f.tar.xz
gsoc2013-empathy-5fd8bf412017f07d25459b0efd72c88a420bd50f.tar.zst
gsoc2013-empathy-5fd8bf412017f07d25459b0efd72c88a420bd50f.zip
set the presence message as a tooltip on its label
So user can still read the full message if it has been ellipsized. https://bugzilla.gnome.org/show_bug.cgi?id=663627
-rw-r--r--src/empathy-accounts-dialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 13e8f617b..fc3e53a32 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -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);
}