fix calculator keybinding

This commit is contained in:
Matthias Clasen 2011-10-24 18:43:12 -04:00 committed by Marek Kasik
parent ae8edd7bd6
commit 3891bb02c3
2 changed files with 18 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: gnome-settings-daemon
Version: 3.2.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
Group: System Environment/Daemons
@ -8,6 +8,7 @@ License: GPLv2+
URL: http://download.gnome.org/sources/%{name}
#VCS: git:git://git.gnome.org/gnome-settings-daemon
Source: http://download.gnome.org/sources/%{name}/3.1/%{name}-%{version}.tar.xz
Patch0: gsd-calculator.patch
Requires(pre): GConf2 >= 2.14
Requires(preun): GConf2 >= 2.14
@ -58,6 +59,7 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0 -p1
# autoreconf -i -f
@ -213,6 +215,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/gnome-settings-daemon-3.0/input-device-example.sh
%changelog
* Mon Oct 24 2011 Matthias Clasen <mclasen@redhat.com> - 3.2.1-2
- Fix calculator keybinding (#745367)
* Mon Oct 17 2011 Bastien Nocera <bnocera@redhat.com> 3.2.1-1
- Update to 3.2.1

12
gsd-calculator.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up gnome-settings-daemon-3.2.1/plugins/media-keys/gsd-media-keys-manager.c.calculator gnome-settings-daemon-3.2.1/plugins/media-keys/gsd-media-keys-manager.c
--- gnome-settings-daemon-3.2.1/plugins/media-keys/gsd-media-keys-manager.c.calculator 2011-10-24 18:37:57.154770995 -0400
+++ gnome-settings-daemon-3.2.1/plugins/media-keys/gsd-media-keys-manager.c 2011-10-24 18:38:12.044771972 -0400
@@ -1496,7 +1496,7 @@ do_action (GsdMediaKeysManager *manager,
do_media_action (manager, timestamp);
break;
case CALCULATOR_KEY:
- do_execute_desktop (manager, "gcalctool.desktop", timestamp);
+ do_execute_desktop (manager, "gnome-gcalctool.desktop", timestamp);
break;
case PLAY_KEY:
return do_multimedia_player_action (manager, "Play");