[gnome-settings-daemon/f16] fix calculator keybinding
Matthias Clasen
mclasen at fedoraproject.org
Mon Oct 24 22:43:45 UTC 2011
commit ecce1f3c2b705922aa65de873e308b644205b652
Author: Matthias Clasen <mclasen at redhat.com>
Date: Mon Oct 24 18:43:12 2011 -0400
fix calculator keybinding
gnome-settings-daemon.spec | 7 ++++++-
gsd-calculator.patch | 12 ++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec
index a375509..4c68595 100644
--- a/gnome-settings-daemon.spec
+++ b/gnome-settings-daemon.spec
@@ -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
@@ -61,6 +62,7 @@ developing applications that use %{name}.
%prep
%setup -q
+%patch0 -p1
# autoreconf -i -f
@@ -216,6 +218,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 at redhat.com> - 3.2.1-2
+- Fix calculator keybinding (#745367)
+
* Mon Oct 17 2011 Bastien Nocera <bnocera at redhat.com> 3.2.1-1
- Update to 3.2.1
diff --git a/gsd-calculator.patch b/gsd-calculator.patch
new file mode 100644
index 0000000..b20c7dc
--- /dev/null
+++ b/gsd-calculator.patch
@@ -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");
More information about the scm-commits
mailing list