standard icon names

This commit is contained in:
Matthias Clasen 2008-08-01 15:32:05 +00:00
parent cca1c41cab
commit 3a0915433a
2 changed files with 20 additions and 2 deletions

View File

@ -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 <mclasen@redhat.com> - 2.23.5-2
- Use standard icon names
* Tue Jul 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.5-1
- Update to 2.23.5

12
icon-names.patch Normal file
View File

@ -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),