rpms/system-config-language/F-13 s-c-l_607927.patch, NONE, 1.1 system-config-language.spec, 1.64, 1.65

Naveen Kumar nkumar at fedoraproject.org
Fri Jul 9 10:25:33 UTC 2010


Author: nkumar

Update of /cvs/pkgs/rpms/system-config-language/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv24767

Modified Files:
	system-config-language.spec 
Added Files:
	s-c-l_607927.patch 
Log Message:
* Fri Jul 9 2010 Naveen Kumar <nkumar at redhat.com>- 1.3.4-5
- apply patch s-c-l_607927.patch
- resolves bug #607927



s-c-l_607927.patch:
 language_gui.py |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

--- NEW FILE s-c-l_607927.patch ---
diff -uNr system-config-language-1.3.4/src/language_gui.py system-config-language-1.3.4-607927/src/language_gui.py
--- system-config-language-1.3.4/src/language_gui.py	2010-03-09 17:03:43.000000000 +0530
+++ system-config-language-1.3.4-607927/src/language_gui.py	2010-07-09 15:03:54.399544860 +0530
@@ -20,6 +20,7 @@
 
 import string
 import gtk
+import gtk.gdk
 import gobject
 import sys, os
 sys.path.append('/usr/share/system-config-language/')
@@ -356,7 +357,13 @@
         self.mainWindow.connect("destroy", self.destroy)
         self.mainWindow.set_title(_("Language Selection"))
         self.mainWindow.set_icon(iconPixbuf)        
-        self.mainWindow.set_size_request(-1, 600)
+        self.screen=self.mainWindow.get_screen()
+        self.screenwidth= self.screen.get_width()
+        self.screenheight= self.screen.get_height()
+        if self.screenheight <= 600:
+            self.mainWindow.set_size_request(-1, int(self.screenheight*0.9))
+        else:
+            self.mainWindow.set_size_request(-1, 600)
         self.mainWindow.set_border_width(12)        
 
         self.bb = gtk.HButtonBox()


Index: system-config-language.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-language/F-13/system-config-language.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -p -r1.64 -r1.65
--- system-config-language.spec	22 Jun 2010 12:53:48 -0000	1.64
+++ system-config-language.spec	9 Jul 2010 10:25:33 -0000	1.65
@@ -1,12 +1,13 @@
 Summary: A graphical interface for modifying the system language
 Name: system-config-language
 Version: 1.3.4
-Release: 4%{?dist}
+Release: 5%{?dist}
 URL: https://fedorahosted.org/system-config-language/
 Source0: https://fedorahosted.org/releases/s/y/system-config-language/%{name}-%{version}.tar.bz2
 Patch0: scl-1.3.4-devel.patch
 Patch1: s-c-l_598423.patch
 Patch2: s-c-l_545499.patch
+Patch3: s-c-l_607927.patch
 License: GPLv2
 Group: System Environment/Base
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -31,6 +32,7 @@ allows the user to change the default la
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 make %{?_smp_mflags}
@@ -92,6 +94,10 @@ fi
 %config(noreplace) %{_sysconfdir}/security/console.apps/system-config-language
 
 %changelog
+* Fri Jul 9 2010 Naveen Kumar <nkumar at redhat.com>- 1.3.4-5
+- apply patch s-c-l_607927.patch
+- resolves bug #607927
+
 * Tue Jun 22 2010 Naveen Kumar <nkumar at redhat.com>- 1.3.4-4
 - apply patch s-c-l_545499.patch
 - resolves bug #545499



More information about the scm-commits mailing list