rpms/control-center/devel initial-layout.patch, NONE, 1.1 control-center.spec, 1.433, 1.434

Matthias Clasen mclasen at fedoraproject.org
Sat Feb 14 04:22:32 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/control-center/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19651

Modified Files:
	control-center.spec 
Added Files:
	initial-layout.patch 
Log Message:
fix a display problem in the keyboard capplet


initial-layout.patch:

--- NEW FILE initial-layout.patch ---
--- gnome-control-center-2.25.90/capplets/keyboard/gnome-keyboard-properties-xkbltadd.c	2009-02-13 23:10:44.000000000 -0500
+++ hacked2/capplets/keyboard/gnome-keyboard-properties-xkbltadd.c	2009-02-13 23:10:26.000000000 -0500
@@ -460,13 +460,12 @@
 				(xkb_layout_chooser_page_changed),
 				chooser_dialog);
 
-	xkb_layout_chooser_available_country_changed (chooser_dialog);
+       gtk_combo_box_set_active (CWID ("xkb_countries_available"), 0);
 
 	if (gtk_tree_model_iter_n_children
 	    (gtk_combo_box_get_model (GTK_COMBO_BOX (lang_chooser)),
 	     NULL)) {
-		xkb_layout_chooser_available_language_changed
-		    (chooser_dialog);
+               gtk_combo_box_set_active (CWID ("xkb_languages_available"), 0);
 	} else {
 		/* If language info is not available - remove the corresponding tab,
 		   pretend there is no notebook at all */
@@ -513,6 +512,7 @@
 		}
 	}
 
+        xkb_layout_preview_update (chooser_dialog);
 	gtk_dialog_run (GTK_DIALOG (chooser));
 	gtk_widget_destroy (chooser);
 }


Index: control-center.spec
===================================================================
RCS file: /cvs/pkgs/rpms/control-center/devel/control-center.spec,v
retrieving revision 1.433
retrieving revision 1.434
diff -u -r1.433 -r1.434
--- control-center.spec	13 Feb 2009 18:53:08 -0000	1.433
+++ control-center.spec	14 Feb 2009 04:22:01 -0000	1.434
@@ -23,7 +23,7 @@
 Summary: Utilities to configure the GNOME desktop
 Name: control-center
 Version: 2.25.90
-Release: 2%{?dist}
+Release: 3%{?dist}
 Epoch: 1
 License: GPLv2+ and GFDL
 Group: User Interface/Desktops
@@ -51,6 +51,9 @@
 # http://bugzilla.gnome.org/show_bug.cgi?id=546036
 Patch33: notification-theme.patch
 
+#
+Patch34: initial-layout.patch
+
 # call the Fedora/RHEL graphical passwd changing apps
 Patch95: gnome-control-center-2.25.2-passwd.patch
 Patch96: gnome-control-center-2.25.2-gecos.patch
@@ -173,6 +176,7 @@
 %patch30 -p1 -b .default-layout-toggle
 %patch32 -p1 -b .display-no-help
 %patch33 -p1 -b .notification-theme
+%patch34 -p1 -b .initial-layout
 
 # vendor configuration patches
 %patch95 -p1 -b .passwd
@@ -347,6 +351,9 @@
 %dir %{_datadir}/gnome-control-center/keybindings
 
 %changelog
+* Fri Feb 13 2009 Matthias Clasen <mclasen at redhat.com> - 2.25.90-3
+- Make add layout dialog show an initial layout
+
 * Fri Feb 13 2009 Matthias Clasen <mclasen at redhat.com> - 2.25.90-2
 - Require a new enough libXrandr
 




More information about the fedora-extras-commits mailing list