[vinagre] Show the connection icon in the tab.



commit 8a099ad554ba6ded114679b8047be45adb91092b
Author: Jonh Wendell <jwendell gnome org>
Date:   Mon Aug 3 14:12:07 2009 -0300

    Show the connection icon in the tab.

 vinagre/vinagre-notebook.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vinagre/vinagre-notebook.c b/vinagre/vinagre-notebook.c
index 4d25987..d5855ef 100644
--- a/vinagre/vinagre-notebook.c
+++ b/vinagre/vinagre-notebook.c
@@ -500,7 +500,8 @@ build_tab_label (VinagreNotebook *nb,
 		    tab);
 
   /* setup site icon, empty by default */
-  icon = gtk_image_new ();
+  icon = gtk_image_new_from_icon_name (vinagre_tab_get_icon_name (tab),
+				       GTK_ICON_SIZE_MENU);
   gtk_box_pack_start (GTK_BOX (label_hbox), icon, FALSE, FALSE, 0);
 	
   /* setup label */



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