Disable label in extension "bookmarks-tray"


I think disabling the label in bookmarks-tray looks much more smooth and
prevents bloating the icontray. Take a look at the appended patch.

Any thought or suggestions?

Greets, Lars
name: Lars Strojny         web: http://strojny.net 
street: Yorckstrasse 22    blog: http://usrportage.de
city: D-71636 Ludwigsburg  mail/jabber: lars strojny net
f-print: 1FD5 D8EE D996 8E3E 1417  328A 240F 17EB 0263 AC07
diff -ru epiphany-extensions-1.6.0/extensions/bookmarks-tray/ephy-bookmarks-tray-extension.c epiphany-extensions-1.6.0-lars/extensions/bookmarks-tray/ephy-bookmarks-tray-extension.c
--- epiphany-extensions-1.6.0/extensions/bookmarks-tray/ephy-bookmarks-tray-extension.c	2005-03-03 17:14:20.000000000 +0100
+++ epiphany-extensions-1.6.0-lars/extensions/bookmarks-tray/ephy-bookmarks-tray-extension.c	2005-03-14 15:34:19.150089723 +0100
@@ -451,7 +451,7 @@
 	EphyBookmarksTrayExtensionPrivate *priv;
 	GError *error = NULL;
-	GtkWidget *hbox, *image, *label;
+	GtkWidget *hbox, *image;
 	LOG ("EphyBookmarksTrayExtension initialising");
@@ -510,10 +510,7 @@
 	image = gtk_image_new_from_stock (EPHY_STOCK_BOOKMARKS, GTK_ICON_SIZE_MENU);
 	gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0);
-	label = gtk_label_new (_("Bookmarks"));
-	gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
-	gtk_widget_show (label);
 	gtk_widget_show (image);
 	gtk_widget_show (hbox);
 	gtk_widget_show (priv->tray_button);

Attachment: signature.asc
Description: This is a digitally signed message part

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