summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2008-04-04 22:23:13 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2008-04-04 22:23:13 +0000
commit9d9adefc9eb1163c8e52d6f0cbc403d3ad84d674 (patch)
tree763f7bd0b01b826f6ab274c8257c4a1387967b4e
parent7c5f9caa7f5ad43659a330e8d68e2d67b761c336 (diff)
Fix launching keyboard properties from accessx-status-applet
-rw-r--r--gnome-applets.spec8
-rw-r--r--keyboard-properties.patch12
2 files changed, 19 insertions, 1 deletions
diff --git a/gnome-applets.spec b/gnome-applets.spec
index 5c0a836..e6b7e2d 100644
--- a/gnome-applets.spec
+++ b/gnome-applets.spec
@@ -35,7 +35,7 @@
Summary: Small applications for the GNOME panel
Name: gnome-applets
Version: 2.22.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 1
License: GPLv2+ and GFDL+
Group: User Interface/Desktops
@@ -77,6 +77,8 @@ Patch42: vertical-invest.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=511446
Patch44: gweather-gnome-vfs.patch
+Patch50: keyboard-properties.patch
+
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
@@ -168,6 +170,7 @@ small utilities for the GNOME panel.
%patch40 -p1 -b .battstat-null
%patch42 -p1 -b .vertical-invest
%patch44 -p1 -b .gweather-gnome-vfs
+%patch50 -p1 -b .keyboard-properties
cp gswitchit/gswitchit-applet.png gswitchit/gswitchit-properties-capplet.png
@@ -339,6 +342,9 @@ fi
%{_sysconfdir}/security/console.apps/*
%changelog
+* Fri Apr 4 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.22.0-2
+- Fix a bug in the keyboard accessibility applet
+
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.22.0-1
- Update to 2.22.0
diff --git a/keyboard-properties.patch b/keyboard-properties.patch
new file mode 100644
index 0000000..cddc6b7
--- /dev/null
+++ b/keyboard-properties.patch
@@ -0,0 +1,12 @@
+diff -up gnome-applets-2.22.0/accessx-status/applet.c.keyboard-properties gnome-applets-2.22.0/accessx-status/applet.c
+--- gnome-applets-2.22.0/accessx-status/applet.c.keyboard-properties 2008-04-04 15:31:25.000000000 -0400
++++ gnome-applets-2.22.0/accessx-status/applet.c 2008-04-04 15:31:52.000000000 -0400
+@@ -204,6 +204,8 @@ dialog_cb (BonoboUIComponent *component,
+ &error);
+
+ if (error != NULL) {
++ g_error_free (error);
++ error = NULL;
+ gdk_spawn_command_line_on_screen (gtk_widget_get_screen (GTK_WIDGET (sapplet->applet)),
+ "gnome-keyboard-properties --a11y",
+ &error);