diff --git a/eog.spec b/eog.spec index d473965..b59eac7 100644 --- a/eog.spec +++ b/eog.spec @@ -14,7 +14,7 @@ Summary: Eye of GNOME image viewer Name: eog Version: 2.23.5 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.gnome.org Source: http://download.gnome.org/sources/eog/2.23/%{name}-%{version}.tar.bz2 # needs to be redone @@ -54,6 +54,9 @@ Requires(preun): GConf2 Requires(postun): desktop-file-utils >= %{desktop_file_utils_version} Requires(postun): scrollkeeper +# http://bugzilla.gnome.org/show_bug.cgi?id=545873 +Patch0: icon-names.patch + %description Eye of GNOME (EOG) is an image viewer. @@ -75,7 +78,7 @@ This package allows you to develop plugins to extend EOG. %prep %setup -q -#%patch0 -p1 -b .svgz +%patch0 -p1 -b .icon-names echo "NoDisplay=true" >> data/eog.desktop.in # just in case @@ -156,6 +159,9 @@ fi %{_datadir}/gtk-doc/html/eog %changelog +* Fri Aug 1 2008 Matthias Clasen - 2.23.5-2 +- Use standard icon names + * Tue Jul 22 2008 Matthias Clasen - 2.23.5-1 - Update to 2.23.5 diff --git a/icon-names.patch b/icon-names.patch new file mode 100644 index 0000000..ed8efe5 --- /dev/null +++ b/icon-names.patch @@ -0,0 +1,12 @@ +diff -up eog-2.23.5/src/eog-window.c.icon-names eog-2.23.5/src/eog-window.c +--- eog-2.23.5/src/eog-window.c.icon-names 2008-08-01 11:21:54.000000000 -0400 ++++ eog-2.23.5/src/eog-window.c 2008-08-01 11:22:40.000000000 -0400 +@@ -3543,7 +3543,7 @@ eog_window_update_recent_files_menu (Eog + gtk_recent_info_ref (info), + (GDestroyNotify) gtk_recent_info_unref); + +- g_object_set (G_OBJECT (action), "icon-name", "gnome-mime-image", NULL); ++ g_object_set (G_OBJECT (action), "icon-name", "image-x-generic", NULL); + + g_signal_connect (action, "activate", + G_CALLBACK (eog_window_open_recent_cb),