gnome-control-center r9265 - trunk/capplets/keyboard
- From: svu svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r9265 - trunk/capplets/keyboard
- Date: Sat, 14 Feb 2009 13:55:58 +0000 (UTC)
Author: svu
Date: Sat Feb 14 13:55:58 2009
New Revision: 9265
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9265&view=rev
Log:
fixed initial layout preview, #550721
Modified:
trunk/capplets/keyboard/ChangeLog
trunk/capplets/keyboard/gnome-keyboard-properties-xkbltadd.c
Modified: trunk/capplets/keyboard/gnome-keyboard-properties-xkbltadd.c
==============================================================================
--- trunk/capplets/keyboard/gnome-keyboard-properties-xkbltadd.c (original)
+++ trunk/capplets/keyboard/gnome-keyboard-properties-xkbltadd.c Sat Feb 14 13:55:58 2009
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]