# HG changeset patch # User Elliott Sales de Andrade # Date 1247032789 0 # Node ID e420ce16863046de25f481e00dd1d618da764153 # Parent d9ee3adfee5879105ff0b2a85f0a84276712d36c 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. diff -r d9ee3adfee58 -r e420ce168630 pidgin/gtkutils.c --- 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);