[gnome-control-center] Minor UI tweaks in kbd layout chooser
- From: Sergey V. Udaltsov <svu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Minor UI tweaks in kbd layout chooser
- Date: Fri, 4 Feb 2011 22:41:22 +0000 (UTC)
commit 7808e6edaed144d8472e3c44a608778044c2b341
Author: Sergey V. Udaltsov <svu gnome org>
Date: Fri Feb 4 22:39:03 2011 +0000
Minor UI tweaks in kbd layout chooser
Frame around layout list, initial focus on the search field
panels/region/gnome-region-panel-layout-chooser.ui | 1 +
panels/region/gnome-region-panel-xkbltadd.c | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/panels/region/gnome-region-panel-layout-chooser.ui b/panels/region/gnome-region-panel-layout-chooser.ui
index 656386b..29356d9 100644
--- a/panels/region/gnome-region-panel-layout-chooser.ui
+++ b/panels/region/gnome-region-panel-layout-chooser.ui
@@ -52,6 +52,7 @@
<property name="can_focus">True</property>
<property name="hscrollbar_policy">never</property>
<property name="vscrollbar_policy">automatic</property>
+ <property name="shadow_type">etched-in</property>
<child>
<object class="GtkTreeView" id="xkb_filtered_layouts_list">
<property name="visible">True</property>
diff --git a/panels/region/gnome-region-panel-xkbltadd.c b/panels/region/gnome-region-panel-xkbltadd.c
index cc0417e..a4508bf 100644
--- a/panels/region/gnome-region-panel-xkbltadd.c
+++ b/panels/region/gnome-region-panel-xkbltadd.c
@@ -234,6 +234,8 @@ xkb_layout_choose (GtkBuilder * dialog)
xkb_layout_filter_changed (chooser_dialog);
+ gtk_widget_grab_focus (xkb_layout_filter);
+
gtk_widget_show (chooser);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]