diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec index 7ce737f..d75a0f2 100644 --- a/gnome-settings-daemon.spec +++ b/gnome-settings-daemon.spec @@ -1,6 +1,6 @@ Name: gnome-settings-daemon Version: 2.29.90 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The daemon sharing settings from GNOME to GTK+/KDE applications Group: System Environment/Daemons @@ -35,6 +35,9 @@ BuildRequires: libcanberra-devel # change font rendering Patch3: slight-hinting.patch +# https://bugzilla.gnome.org/show_bug.cgi?id=610319 +Patch4: keyboard-icon.patch + %description A daemon to share settings from GNOME to other applications. It also handles global keybindings, as well as a number of desktop-wide settings. @@ -53,6 +56,7 @@ developing applications that use %{name}. %prep %setup -q %patch3 -p1 -b .slight-hinting +%patch4 -p1 -b .keyboard-icon %build # https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking @@ -166,6 +170,9 @@ fi %{_libdir}/pkgconfig/gnome-settings-daemon.pc %changelog +* Wed Feb 17 2010 Matthias Clasen 2.29.90-2 +- Set a name for the keyboard statusicon + * Wed Feb 10 2010 Tomas Bzatek 2.29.90-1 - Update to 2.29.90 diff --git a/keyboard-icon.patch b/keyboard-icon.patch new file mode 100644 index 0000000..e4c8fa0 --- /dev/null +++ b/keyboard-icon.patch @@ -0,0 +1,11 @@ +diff -up gnome-settings-daemon-2.29.90/plugins/keyboard/gsd-keyboard-xkb.c.keyboard-icon gnome-settings-daemon-2.29.90/plugins/keyboard/gsd-keyboard-xkb.c +--- gnome-settings-daemon-2.29.90/plugins/keyboard/gsd-keyboard-xkb.c.keyboard-icon 2010-02-17 18:27:01.013904630 -0500 ++++ gnome-settings-daemon-2.29.90/plugins/keyboard/gsd-keyboard-xkb.c 2010-02-17 18:31:52.121659134 -0500 +@@ -446,6 +446,7 @@ show_hide_icon () + if (icon == NULL) { + xkl_debug (150, "Creating new icon\n"); + icon = gkbd_status_new (); ++ gtk_status_icon_set_name (icon, "keyboard"); + g_signal_connect (icon, "popup-menu", + G_CALLBACK + (status_icon_popup_menu_cb),