fix launching the display configuration utility

This commit is contained in:
Matthias Clasen 2010-06-16 12:23:50 +00:00
parent 68e76c8dee
commit 71fcc5bcbe
2 changed files with 17 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: gnome-settings-daemon Name: gnome-settings-daemon
Version: 2.31.3 Version: 2.31.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
Group: System Environment/Daemons Group: System Environment/Daemons
@ -41,6 +41,9 @@ Patch4: keyboard-icon.patch
Patch5: not-smart.patch Patch5: not-smart.patch
# upstream fix
Patch6: gsd-display-panel.patch
%description %description
A daemon to share settings from GNOME to other applications. It also A daemon to share settings from GNOME to other applications. It also
handles global keybindings, as well as a number of desktop-wide settings. handles global keybindings, as well as a number of desktop-wide settings.
@ -61,6 +64,7 @@ developing applications that use %{name}.
%patch3 -p1 -b .slight-hinting %patch3 -p1 -b .slight-hinting
%patch4 -p1 -b .keyboard-icon %patch4 -p1 -b .keyboard-icon
%patch5 -p1 -b .not-smart %patch5 -p1 -b .not-smart
%patch6 -p1 -b .display-panel
autoreconf -i -f autoreconf -i -f

12
gsd-display-panel.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up gnome-settings-daemon-2.31.3/plugins/xrandr/gsd-xrandr-manager.c.display-panel gnome-settings-daemon-2.31.3/plugins/xrandr/gsd-xrandr-manager.c
--- gnome-settings-daemon-2.31.3/plugins/xrandr/gsd-xrandr-manager.c.display-panel 2010-06-16 08:12:53.017980209 -0400
+++ gnome-settings-daemon-2.31.3/plugins/xrandr/gsd-xrandr-manager.c 2010-06-16 08:13:45.060956325 -0400
@@ -76,7 +76,7 @@
#define GSD_XRANDR_ICON_NAME "gsd-xrandr"
/* executable of the control center's display configuration capplet */
-#define GSD_XRANDR_DISPLAY_CAPPLET "gnome-display-properties"
+#define GSD_XRANDR_DISPLAY_CAPPLET "gnome-control-center display"
#define GSD_DBUS_PATH "/org/gnome/SettingsDaemon"
#define GSD_DBUS_NAME "org.gnome.SettingsDaemon"