gnome-control-center r8524 - trunk/capplets/about-me
- From: jensg svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r8524 - trunk/capplets/about-me
- Date: Mon, 25 Feb 2008 22:57:29 +0000 (GMT)
Author: jensg
Date: Mon Feb 25 22:57:28 2008
New Revision: 8524
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=8524&view=rev
Log:
2008-02-25 Jens Granseuer <jensgr gmx net>
* gnome-about-me.c: (about_me_setup_dialog):
* gnome-about-me.glade: fix widget tab order (bug #339936)
Modified:
trunk/capplets/about-me/ChangeLog
trunk/capplets/about-me/gnome-about-me.c
trunk/capplets/about-me/gnome-about-me.glade
Modified: trunk/capplets/about-me/gnome-about-me.c
==============================================================================
--- trunk/capplets/about-me/gnome-about-me.c (original)
+++ trunk/capplets/about-me/gnome-about-me.c Mon Feb 25 22:57:28 2008
@@ -807,6 +807,7 @@
GtkIconInfo *icon;
GladeXML *dialog;
GError *error = NULL;
+ GList *chain;
struct passwd *pwent;
gchar *str;
@@ -935,6 +936,27 @@
g_signal_connect (G_OBJECT (widget), "changed",
G_CALLBACK (about_me_image_changed_cb), me);
+ /* Address tab: set up the focus chains */
+ chain = g_list_prepend (NULL, WID ("addr-country-1"));
+ chain = g_list_prepend (chain, WID ("addr-po-1"));
+ chain = g_list_prepend (chain, WID ("addr-region-1"));
+ chain = g_list_prepend (chain, WID ("addr-code-1"));
+ chain = g_list_prepend (chain, WID ("addr-locality-1"));
+ chain = g_list_prepend (chain, WID ("addr-scrolledwindow-1"));
+ widget = WID ("addr-table-1");
+ gtk_container_set_focus_chain (GTK_CONTAINER (widget), chain);
+ g_list_free (chain);
+
+ chain = g_list_prepend (NULL, WID ("addr-country-2"));
+ chain = g_list_prepend (chain, WID ("addr-po-2"));
+ chain = g_list_prepend (chain, WID ("addr-region-2"));
+ chain = g_list_prepend (chain, WID ("addr-code-2"));
+ chain = g_list_prepend (chain, WID ("addr-locality-2"));
+ chain = g_list_prepend (chain, WID ("addr-scrolledwindow-2"));
+ widget = WID ("addr-table-2");
+ gtk_container_set_focus_chain (GTK_CONTAINER (widget), chain);
+ g_list_free (chain);
+
about_me_load_info (me);
gtk_widget_show_all (main_dialog);
Modified: trunk/capplets/about-me/gnome-about-me.glade
==============================================================================
--- trunk/capplets/about-me/gnome-about-me.glade (original)
+++ trunk/capplets/about-me/gnome-about-me.glade Mon Feb 25 22:57:28 2008
@@ -1223,7 +1223,7 @@
</child>
<child>
- <widget class="GtkTable" id="table126">
+ <widget class="GtkTable" id="addr-table-1">
<property name="visible">True</property>
<property name="n_rows">4</property>
<property name="n_columns">4</property>
@@ -1261,7 +1261,7 @@
</child>
<child>
- <widget class="GtkScrolledWindow" id="scrolledwindow3">
+ <widget class="GtkScrolledWindow" id="addr-scrolledwindow-1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
@@ -1472,7 +1472,6 @@
<property name="max_length">0</property>
<property name="text"></property>
<property name="has_frame">True</property>
- <property name="activates_default">False</property>
</widget>
<packing>
<property name="left_attach">3</property>
@@ -1492,7 +1491,6 @@
<property name="max_length">0</property>
<property name="text"></property>
<property name="has_frame">True</property>
- <property name="activates_default">False</property>
</widget>
<packing>
<property name="left_attach">3</property>
@@ -1512,7 +1510,6 @@
<property name="max_length">0</property>
<property name="text"></property>
<property name="has_frame">True</property>
- <property name="activates_default">False</property>
</widget>
<packing>
<property name="left_attach">3</property>
@@ -1532,7 +1529,6 @@
<property name="max_length">0</property>
<property name="text"></property>
<property name="has_frame">True</property>
- <property name="activates_default">False</property>
</widget>
<packing>
<property name="left_attach">3</property>
@@ -1634,7 +1630,7 @@
</child>
<child>
- <widget class="GtkTable" id="table127">
+ <widget class="GtkTable" id="addr-table-2">
<property name="visible">True</property>
<property name="n_rows">4</property>
<property name="n_columns">4</property>
@@ -1672,7 +1668,7 @@
</child>
<child>
- <widget class="GtkScrolledWindow" id="scrolledwindow4">
+ <widget class="GtkScrolledWindow" id="addr-scrolledwindow-2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]