diff --git a/data/gui/profile_window.ui b/data/gui/profile_window.ui index 593e5cf8f..666510d71 100644 --- a/data/gui/profile_window.ui +++ b/data/gui/profile_window.ui @@ -15,6 +15,7 @@ True 6 + True @@ -31,7 +32,7 @@ 1 2 - + @@ -44,7 +45,7 @@ 4 4 5 - + @@ -67,7 +68,7 @@ 1 2 - + @@ -78,7 +79,7 @@ 3 4 - + @@ -91,7 +92,7 @@ 2 1 2 - + @@ -104,7 +105,7 @@ 2 2 3 - + @@ -117,7 +118,7 @@ 4 2 3 - + @@ -131,7 +132,7 @@ GTK_FILL - + @@ -146,7 +147,7 @@ 1 2 GTK_FILL - + @@ -161,7 +162,7 @@ 2 3 GTK_FILL - + @@ -176,7 +177,7 @@ 2 3 GTK_FILL - + @@ -193,7 +194,7 @@ 2 3 GTK_FILL - + @@ -218,7 +219,7 @@ 4 1 2 - + @@ -229,7 +230,7 @@ 3 4 - + @@ -252,7 +253,7 @@ 1 2 - + @@ -263,7 +264,7 @@ 3 4 - + @@ -276,7 +277,7 @@ 2 1 2 - + @@ -289,7 +290,7 @@ 4 1 2 - + @@ -302,7 +303,7 @@ 2 2 3 - + @@ -315,7 +316,7 @@ 4 2 3 - + @@ -328,7 +329,7 @@ GTK_FILL - + @@ -343,7 +344,7 @@ 1 2 GTK_FILL - + @@ -358,7 +359,7 @@ 2 3 GTK_FILL - + @@ -373,7 +374,7 @@ 2 3 GTK_FILL - + @@ -390,7 +391,7 @@ 1 2 GTK_FILL - + @@ -407,7 +408,7 @@ 2 3 GTK_FILL - + @@ -426,7 +427,7 @@ 4 2 3 - + @@ -440,7 +441,7 @@ 4 5 6 - + @@ -454,8 +455,8 @@ 3 4 - - + + @@ -468,7 +469,7 @@ 4 3 4 - + @@ -481,7 +482,7 @@ 2 5 6 - + @@ -494,7 +495,7 @@ GTK_FILL - + @@ -509,7 +510,7 @@ 2 3 GTK_FILL - + @@ -524,7 +525,7 @@ 5 6 GTK_FILL - + @@ -547,7 +548,7 @@ 5 6 GTK_FILL - + @@ -561,7 +562,7 @@ 4 5 GTK_FILL - + @@ -576,7 +577,7 @@ 6 7 GTK_FILL - + @@ -672,7 +673,7 @@ 1 2 - + @@ -683,7 +684,7 @@ 3 4 - + @@ -696,7 +697,7 @@ 2 1 2 - + @@ -709,7 +710,7 @@ 4 1 2 - + @@ -722,7 +723,7 @@ 4 3 4 - + @@ -745,7 +746,7 @@ 1 2 - + @@ -756,7 +757,7 @@ 3 4 - + @@ -769,7 +770,7 @@ 2 1 2 - + @@ -782,7 +783,7 @@ 4 1 2 - + @@ -795,7 +796,7 @@ 2 2 3 - + @@ -808,7 +809,7 @@ 4 2 3 - + @@ -821,7 +822,7 @@ GTK_FILL - + @@ -836,7 +837,7 @@ 1 2 GTK_FILL - + @@ -851,7 +852,7 @@ 2 3 GTK_FILL - + @@ -866,7 +867,7 @@ 2 3 GTK_FILL - + @@ -883,7 +884,7 @@ 1 2 GTK_FILL - + @@ -900,7 +901,7 @@ 2 3 GTK_FILL - + @@ -919,7 +920,7 @@ 4 2 3 - + @@ -932,7 +933,7 @@ 2 4 5 - + @@ -945,7 +946,7 @@ GTK_FILL - + @@ -960,7 +961,7 @@ 1 2 GTK_FILL - + @@ -975,7 +976,7 @@ 2 3 GTK_FILL - + @@ -992,7 +993,7 @@ 1 2 GTK_FILL - + @@ -1007,7 +1008,7 @@ 3 4 GTK_FILL - + @@ -1022,7 +1023,7 @@ 4 5 GTK_FILL - + diff --git a/src/profile_window.py b/src/profile_window.py index 4c5ca2a73..ad0dcd148 100644 --- a/src/profile_window.py +++ b/src/profile_window.py @@ -73,6 +73,10 @@ class ProfileWindow: gajim.ged.register_event_handler('vcard-received', ged.GUI1, self._nec_vcard_received) self.window.show_all() + self.xml.get_object('ok_button').grab_focus() + + def on_information_notebook_switch_page(self, widget, page, page_num): + gobject.idle_add(self.xml.get_object('ok_button').grab_focus) def update_progressbar(self): self.progressbar.pulse()