changeset 27495:e420ce168630

Set the "Open Containing Directory" icon to the "directory" stock icon instead of the incorrect "copy" stock icon. Also, de-register the protocol on uninit.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 08 Jul 2009 05:59:49 +0000
parents d9ee3adfee58
children 1ce607bc4dce
files pidgin/gtkutils.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Wed Jul 08 00:50:29 2009 +0000
+++ b/pidgin/gtkutils.c	Wed Jul 08 05:59:49 2009 +0000
@@ -3698,7 +3698,7 @@
 	gtk_menu_shell_append(GTK_MENU_SHELL(menu), item);
 
 	/* Open Containing Directory */
-	img = gtk_image_new_from_stock(GTK_STOCK_COPY, GTK_ICON_SIZE_MENU);
+	img = gtk_image_new_from_stock(GTK_STOCK_DIRECTORY, GTK_ICON_SIZE_MENU);
 	item = gtk_image_menu_item_new_with_mnemonic(_("Open _Containing Directory"));
 	gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(item), img);
 	g_signal_connect(G_OBJECT(item), "activate", G_CALLBACK(open_containing_cb), (gpointer)url);
@@ -3840,6 +3840,7 @@
 		gnome_url_handlers = NULL;
 		return;
 	}
+	gtk_imhtml_class_register_protocol("file://", NULL, NULL);
 
 	gtk_imhtml_class_register_protocol("http://", NULL, NULL);
 	gtk_imhtml_class_register_protocol("https://", NULL, NULL);