GNOME Bugzilla – Bug 171619
uses GnomeIconTheme which is deprecated
Last modified: 2007-06-04 15:03:44 UTC
Please describe the problem: src/window.c src/dlg-batch-add.c Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 46036 [details] [review] Switch GnomeIconTheme to GtkIconTheme Patch is against CVS HEAD. I don't know if GtkIconTheme has a function to get an icon that's associated with a MIME type, so I left that function alone. The egg-recent code used in file-roller seems to use GnomeIconTheme too, I didn't touch that with this patch.
Created attachment 88099 [details] [review] Improved patch that romves the last parts Improved patch that applies to SVN trunk as of today. Improvements made to previous patch: - g_object_unref is removed for icon_theme, API docs say we should not do this - icon is loaded directly like in fr-window.c without difficult gtk-icon-info calls - unused includefile is removed Other things: - theme_changed_cb in fr-window.c takes a GtkIconInfo instead of GnomeIconInfo
patch applied to trunk, thanks.