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



commit e33077e282cd1c5b727a69fc3c48b8445d3752b4
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 a064e59..f84195a 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], [32])
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 672aa9b..e953cb0 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -737,6 +737,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]