fix an invalid schema default

This commit is contained in:
Matthias Clasen 2010-04-07 16:19:04 +00:00
parent 5c461bea4d
commit ba14bff898
2 changed files with 19 additions and 1 deletions

12
fontsize.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up libgnomekbd-2.30.0/libgnomekbd/desktop_gnome_peripherals_keyboard_xkb.schemas.in.fontsize libgnomekbd-2.30.0/libgnomekbd/desktop_gnome_peripherals_keyboard_xkb.schemas.in
--- libgnomekbd-2.30.0/libgnomekbd/desktop_gnome_peripherals_keyboard_xkb.schemas.in.fontsize 2010-04-07 12:11:42.654534585 -0400
+++ libgnomekbd-2.30.0/libgnomekbd/desktop_gnome_peripherals_keyboard_xkb.schemas.in 2010-04-07 12:12:23.249030535 -0400
@@ -230,7 +230,7 @@
<applyto>/desktop/gnome/peripherals/keyboard/indicator/fontSize</applyto>
<owner>gnome</owner>
<type>int</type>
- <default></default>
+ <default>10</default>
<locale name="C">
<short>The font size</short>
<long>The font size for the layout indicator</long>

View File

@ -1,6 +1,6 @@
Name: libgnomekbd
Version: 2.30.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A keyboard configuration library
Group: System Environment/Libraries
@ -8,6 +8,8 @@ License: LGPLv2+
URL: http://gswitchit.sourceforge.net
# VCS: git:git://git.gnome.org/libgnomekbd
Source0: http://download.gnome.org/sources/libgnomekbd/2.30/libgnomekbd-%{version}.tar.bz2
# https://bugzilla.gnome.org/show_bug.cgi?id=615077
Patch0: fontsize.patch
BuildRequires: dbus-devel >= 0.92
BuildRequires: dbus-glib >= 0.34
@ -60,6 +62,7 @@ of the keyboard indicator applet.
%prep
%setup -q
%patch0 -p1 -b .fontsize
%build
%configure --disable-static --enable-compile-warnings=no
@ -133,6 +136,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%changelog
* Wed Apr 7 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-2
- Fix an invalid schema default
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-1
- Update to 2.30.0