use more standard icon names

This commit is contained in:
Matthias Clasen 2008-07-09 20:17:59 +00:00
parent 6c3559e89f
commit 55a659a254
2 changed files with 21 additions and 1 deletions

View File

@ -12,7 +12,7 @@
Summary: GNOME session manager
Name: gnome-session
Version: 2.23.4.1
Release: 2%{?dist}
Release: 3%{?dist}
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-session/2.23/%{name}-%{version}.tar.bz2
Source1: redhat-default-session
@ -59,6 +59,8 @@ Patch34: gnome-session-nautilus.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=542086
Patch47: escape-comment.patch
Patch49: icon-names.patch
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: dbus-devel >= %{dbus_version}
@ -103,6 +105,7 @@ GNOME components and handles logout and saving the session.
#%patch22 -p1 -b .ice-leaks
%patch34 -p1 -b .nautilus
%patch47 -p1 -b .escape-comment
%patch49 -p1 -b .icon-names
%build
@ -188,6 +191,9 @@ fi
%changelog
* Wed Jul 9 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.4.1-3
- Use more standard icon names
* Tue Jul 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.4.1-2
- Escape comments for markup

14
icon-names.patch Normal file
View File

@ -0,0 +1,14 @@
diff -up gnome-session-2.23.4.1/gnome-session/logout-dialog.c.icon-names gnome-session-2.23.4.1/gnome-session/logout-dialog.c
--- gnome-session-2.23.4.1/gnome-session/logout-dialog.c.icon-names 2008-07-09 16:12:41.000000000 -0400
+++ gnome-session-2.23.4.1/gnome-session/logout-dialog.c 2008-07-09 16:13:10.000000000 -0400
@@ -41,8 +41,8 @@
#define AUTOMATIC_ACTION_TIMEOUT 60
-#define GSM_ICON_LOGOUT "gnome-logout"
-#define GSM_ICON_SHUTDOWN "gnome-shutdown"
+#define GSM_ICON_LOGOUT "system-logout"
+#define GSM_ICON_SHUTDOWN "system-shutdown"
struct _GsmLogoutDialogPrivate
{