[empathy] main-window: add a tooltip on connection error info bars (#626507)



commit b4930806a93a8b365400e563b8fa359c00c4016a
Author: Robert Sajdok <robert sajdok gmail com>
Date:   Mon Dec 13 10:40:23 2010 +0100

    main-window: add a tooltip on connection error info bars (#626507)

 configure.ac              |    2 +-
 src/empathy-main-window.c |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4ed8d9e..1503cd8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 dnl If not 1, append datestamp to the version number
-m4_define(empathy_released, 0)
+m4_define(empathy_released, 1)
 
 m4_define([empathy_major_version], [2])
 m4_define([empathy_minor_version], [91])
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index db5818c..64438ed 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -593,6 +593,7 @@ main_window_error_display (EmpathyMainWindow *window,
 			  G_CALLBACK (main_window_error_retry_clicked_cb),
 			  window);
 
+	gtk_widget_set_tooltip_text (priv->errors_vbox, error_message);
 	gtk_widget_show (priv->errors_vbox);
 
 	g_hash_table_insert (priv->errors, g_object_ref (account), info_bar);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]