set a name on the keyboard statusicon
This commit is contained in:
parent
c1b40fbe3a
commit
3316c14fdc
@ -1,6 +1,6 @@
|
|||||||
Name: gnome-settings-daemon
|
Name: gnome-settings-daemon
|
||||||
Version: 2.29.90
|
Version: 2.29.90
|
||||||
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
|
||||||
@ -35,6 +35,9 @@ BuildRequires: libcanberra-devel
|
|||||||
# change font rendering
|
# change font rendering
|
||||||
Patch3: slight-hinting.patch
|
Patch3: slight-hinting.patch
|
||||||
|
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=610319
|
||||||
|
Patch4: keyboard-icon.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.
|
||||||
@ -53,6 +56,7 @@ developing applications that use %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch3 -p1 -b .slight-hinting
|
%patch3 -p1 -b .slight-hinting
|
||||||
|
%patch4 -p1 -b .keyboard-icon
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
|
# https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
|
||||||
@ -166,6 +170,9 @@ fi
|
|||||||
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
|
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 17 2010 Matthias Clasen <mclasen@redhat.com> 2.29.90-2
|
||||||
|
- Set a name for the keyboard statusicon
|
||||||
|
|
||||||
* Wed Feb 10 2010 Tomas Bzatek <tbzatek@redhat.com> 2.29.90-1
|
* Wed Feb 10 2010 Tomas Bzatek <tbzatek@redhat.com> 2.29.90-1
|
||||||
- Update to 2.29.90
|
- Update to 2.29.90
|
||||||
|
|
||||||
|
11
keyboard-icon.patch
Normal file
11
keyboard-icon.patch
Normal file
@ -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),
|
Loading…
Reference in New Issue
Block a user