pidgin: 94711175: Set the "Open Containing Directory" icon...
qulogic at pidgin.im
qulogic at pidgin.im
Wed Jul 8 02:11:05 EDT 2009
-----------------------------------------------------------------
Revision: 947111754d9b58f45801cb22f64596b1ed0a5a31
Ancestor: 2010b6cf9dfaf940d22f5593c63b22db86ee8844
Author: qulogic at pidgin.im
Date: 2009-07-08T05:59:49
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/947111754d9b58f45801cb22f64596b1ed0a5a31
Modified files:
pidgin/gtkutils.c
ChangeLog:
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.
-------------- next part --------------
============================================================
--- pidgin/gtkutils.c 98499c6dce28d488dc575a3d17211451f7d1e511
+++ pidgin/gtkutils.c 92f0868f0a50bb8082f457453c0726002c9811cc
@@ -3698,7 +3698,7 @@ file_context_menu(GtkIMHtml *imhtml, Gtk
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 @@ void pidgin_utils_uninit(void)
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);
More information about the Commits
mailing list