Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eta
gajim
Commits
cfd9c878
Commit
cfd9c878
authored
18 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
forgotten files
parent
a678c35b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
data/glade/profile_window.glade
+1968
-0
1968 additions, 0 deletions
data/glade/profile_window.glade
src/profile_window.py
+289
-0
289 additions, 0 deletions
src/profile_window.py
with
2257 additions
and
0 deletions
data/glade/profile_window.glade
0 → 100644
+
1968
−
0
View file @
cfd9c878
<?xml version="1.0" standalone="no"?>
<!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
<glade-interface>
<widget
class=
"GtkWindow"
id=
"profile_window"
>
<property
name=
"border_width"
>
12
</property>
<property
name=
"title"
>
Personal Information
</property>
<property
name=
"type"
>
GTK_WINDOW_TOPLEVEL
</property>
<property
name=
"window_position"
>
GTK_WIN_POS_NONE
</property>
<property
name=
"modal"
>
False
</property>
<property
name=
"resizable"
>
False
</property>
<property
name=
"destroy_with_parent"
>
False
</property>
<property
name=
"decorated"
>
True
</property>
<property
name=
"skip_taskbar_hint"
>
False
</property>
<property
name=
"skip_pager_hint"
>
False
</property>
<property
name=
"type_hint"
>
GDK_WINDOW_TYPE_HINT_NORMAL
</property>
<property
name=
"gravity"
>
GDK_GRAVITY_NORTH_WEST
</property>
<property
name=
"focus_on_map"
>
True
</property>
<property
name=
"urgency_hint"
>
False
</property>
<signal
name=
"key_press_event"
handler=
"on_profile_window_key_press_event"
last_modification_time=
"Fri, 08 Sep 2006 11:39:24 GMT"
/>
<signal
name=
"destroy"
handler=
"on_profile_window_destroy"
last_modification_time=
"Fri, 08 Sep 2006 11:39:32 GMT"
/>
<child>
<widget
class=
"GtkVBox"
id=
"vbox1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"homogeneous"
>
False
</property>
<property
name=
"spacing"
>
12
</property>
<child>
<widget
class=
"GtkNotebook"
id=
"information_notebook"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"show_tabs"
>
True
</property>
<property
name=
"show_border"
>
True
</property>
<property
name=
"tab_pos"
>
GTK_POS_TOP
</property>
<property
name=
"scrollable"
>
False
</property>
<property
name=
"enable_popup"
>
False
</property>
<child>
<widget
class=
"GtkTable"
id=
"table2"
>
<property
name=
"border_width"
>
12
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"n_rows"
>
7
</property>
<property
name=
"n_columns"
>
4
</property>
<property
name=
"homogeneous"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<widget
class=
"GtkEntry"
id=
"FN_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"EMAIL_HOME_USERID_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
4
</property>
<property
name=
"bottom_attach"
>
5
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkExpander"
id=
"expander1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"expanded"
>
False
</property>
<property
name=
"spacing"
>
0
</property>
<child>
<widget
class=
"GtkTable"
id=
"table3"
>
<property
name=
"border_width"
>
6
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"n_rows"
>
3
</property>
<property
name=
"n_columns"
>
4
</property>
<property
name=
"homogeneous"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<widget
class=
"GtkEntry"
id=
"N_FAMILY_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"N_GIVEN_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"N_MIDDLE_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"N_PREFIX_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"N_SUFFIX_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label18"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"Family Name"
>
Family:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label16"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"Middle Name"
>
Middle:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label15"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"Prefix in Name"
>
Prefix:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label17"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"Given Name"
>
Given:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label14"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"Suffix in Name"
>
Suffix:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
</widget>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label19"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
More
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"type"
>
label_item
</property>
</packing>
</child>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"NICKNAME_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkExpander"
id=
"expander2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"expanded"
>
False
</property>
<property
name=
"spacing"
>
0
</property>
<child>
<widget
class=
"GtkTable"
id=
"table_ADR_STREET"
>
<property
name=
"border_width"
>
6
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"n_rows"
>
3
</property>
<property
name=
"n_columns"
>
4
</property>
<property
name=
"homogeneous"
>
False
</property>
<property
name=
"row_spacing"
>
5
</property>
<property
name=
"column_spacing"
>
5
</property>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_HOME_STREET_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_HOME_EXTADR_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_HOME_LOCALITY_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_HOME_PCODE_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_HOME_REGION_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_HOME_CTRY_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label31"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Street:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label28"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
City:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label27"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
State:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label29"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Extra Address:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label26"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Postal Code:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label25"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Country:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
</widget>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label30"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Address
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"type"
>
label_item
</property>
</packing>
</child>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"BDAY_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
5
</property>
<property
name=
"bottom_attach"
>
6
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label22"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Homepage:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
3
</property>
<property
name=
"bottom_attach"
>
4
</property>
<property
name=
"x_options"
></property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"URL_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
3
</property>
<property
name=
"bottom_attach"
>
4
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"TEL_HOME_NUMBER_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
5
</property>
<property
name=
"bottom_attach"
>
6
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label24"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Name:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label20"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Nickname:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label23"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Phone No.:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
5
</property>
<property
name=
"bottom_attach"
>
6
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEventBox"
id=
"eventbox1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
>
Format: YYYY-MM-DD
</property>
<property
name=
"visible_window"
>
True
</property>
<property
name=
"above_child"
>
False
</property>
<child>
<widget
class=
"GtkLabel"
id=
"label13"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Birthday:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
</child>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
5
</property>
<property
name=
"bottom_attach"
>
6
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label57"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
E-Mail:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0.5
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
4
</property>
<property
name=
"bottom_attach"
>
5
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkButton"
id=
"set_avatar_button"
>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"relief"
>
GTK_RELIEF_NORMAL
</property>
<property
name=
"focus_on_click"
>
True
</property>
<signal
name=
"clicked"
handler=
"on_set_avatar_button_clicked"
last_modification_time=
"Fri, 08 Sep 2006 14:14:38 GMT"
/>
<child>
<widget
class=
"GtkEventBox"
id=
"PHOTO_eventbox3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible_window"
>
False
</property>
<property
name=
"above_child"
>
False
</property>
<child>
<widget
class=
"GtkImage"
id=
"PHOTO_image"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"xalign"
>
0.5
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
6
</property>
<property
name=
"bottom_attach"
>
7
</property>
<property
name=
"x_options"
></property>
<property
name=
"y_options"
>
expand
</property>
</packing>
</child>
</widget>
<packing>
<property
name=
"tab_expand"
>
False
</property>
<property
name=
"tab_fill"
>
True
</property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label4"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Personal Info
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"type"
>
tab
</property>
</packing>
</child>
<child>
<widget
class=
"GtkTable"
id=
"table5"
>
<property
name=
"border_width"
>
12
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"n_rows"
>
5
</property>
<property
name=
"n_columns"
>
4
</property>
<property
name=
"homogeneous"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<widget
class=
"GtkEntry"
id=
"ORG_ORGNAME_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ORG_ORGUNIT_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"TITLE_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ROLE_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"EMAIL_WORK_USERID_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
3
</property>
<property
name=
"bottom_attach"
>
4
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkExpander"
id=
"expander3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"expanded"
>
False
</property>
<property
name=
"spacing"
>
0
</property>
<child>
<widget
class=
"GtkTable"
id=
"table6"
>
<property
name=
"border_width"
>
6
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"n_rows"
>
3
</property>
<property
name=
"n_columns"
>
4
</property>
<property
name=
"homogeneous"
>
False
</property>
<property
name=
"row_spacing"
>
5
</property>
<property
name=
"column_spacing"
>
5
</property>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_WORK_STREET_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_WORK_EXTADR_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_WORK_LOCALITY_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_WORK_PCODE_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_WORK_REGION_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"ADR_WORK_CTRY_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
3
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label39"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Street:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label37"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
City:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label36"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
State:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label38"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Extra Address:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label35"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Postal Code:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label34"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Country:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
</widget>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label40"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Address
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"type"
>
label_item
</property>
</packing>
</child>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
4
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"TEL_WORK_NUMBER_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
4
</property>
<property
name=
"bottom_attach"
>
5
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label44"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Company:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label42"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Position:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label43"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Department:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label41"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Role:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"right_attach"
>
3
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"bottom_attach"
>
2
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label32"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
E-Mail:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
3
</property>
<property
name=
"bottom_attach"
>
4
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label33"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Phone No.:
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
4
</property>
<property
name=
"bottom_attach"
>
5
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
</widget>
<packing>
<property
name=
"tab_expand"
>
False
</property>
<property
name=
"tab_fill"
>
True
</property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label5"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Work
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"type"
>
tab
</property>
</packing>
</child>
<child>
<widget
class=
"GtkScrolledWindow"
id=
"scrolledwindow"
>
<property
name=
"border_width"
>
6
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"hscrollbar_policy"
>
GTK_POLICY_AUTOMATIC
</property>
<property
name=
"vscrollbar_policy"
>
GTK_POLICY_AUTOMATIC
</property>
<property
name=
"shadow_type"
>
GTK_SHADOW_IN
</property>
<property
name=
"window_placement"
>
GTK_CORNER_TOP_LEFT
</property>
<child>
<widget
class=
"GtkTextView"
id=
"DESC_textview"
>
<property
name=
"height_request"
>
70
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"overwrite"
>
False
</property>
<property
name=
"accepts_tab"
>
True
</property>
<property
name=
"justification"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap_mode"
>
GTK_WRAP_WORD
</property>
<property
name=
"cursor_visible"
>
True
</property>
<property
name=
"pixels_above_lines"
>
0
</property>
<property
name=
"pixels_below_lines"
>
0
</property>
<property
name=
"pixels_inside_wrap"
>
0
</property>
<property
name=
"left_margin"
>
0
</property>
<property
name=
"right_margin"
>
0
</property>
<property
name=
"indent"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
</widget>
</child>
</widget>
<packing>
<property
name=
"tab_expand"
>
False
</property>
<property
name=
"tab_fill"
>
True
</property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label6"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
comments=
""About" is the text of a tab of vcard window"
>
About
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"type"
>
tab
</property>
</packing>
</child>
</widget>
<packing>
<property
name=
"padding"
>
0
</property>
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
</packing>
</child>
<child>
<widget
class=
"GtkHButtonBox"
id=
"information_hbuttonbox"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"layout_style"
>
GTK_BUTTONBOX_END
</property>
<property
name=
"spacing"
>
12
</property>
<child>
<widget
class=
"GtkButton"
id=
"publish_button"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_default"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"relief"
>
GTK_RELIEF_NORMAL
</property>
<property
name=
"focus_on_click"
>
True
</property>
<signal
name=
"clicked"
handler=
"on_publish_button_clicked"
/>
<child>
<widget
class=
"GtkAlignment"
id=
"alignment1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xscale"
>
0
</property>
<property
name=
"yscale"
>
0
</property>
<property
name=
"top_padding"
>
0
</property>
<property
name=
"bottom_padding"
>
0
</property>
<property
name=
"left_padding"
>
0
</property>
<property
name=
"right_padding"
>
0
</property>
<child>
<widget
class=
"GtkHBox"
id=
"hbox1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"homogeneous"
>
False
</property>
<property
name=
"spacing"
>
2
</property>
<child>
<widget
class=
"GtkImage"
id=
"image1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"stock"
>
gtk-go-up
</property>
<property
name=
"icon_size"
>
4
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
</widget>
<packing>
<property
name=
"padding"
>
0
</property>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
_Publish
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0.5
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"padding"
>
0
</property>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
</packing>
</child>
</widget>
</child>
</widget>
</child>
</widget>
</child>
<child>
<widget
class=
"GtkButton"
id=
"retrieve_button"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_default"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"relief"
>
GTK_RELIEF_NORMAL
</property>
<property
name=
"focus_on_click"
>
True
</property>
<signal
name=
"clicked"
handler=
"on_retrieve_button_clicked"
/>
<child>
<widget
class=
"GtkAlignment"
id=
"alignment2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xscale"
>
0
</property>
<property
name=
"yscale"
>
0
</property>
<property
name=
"top_padding"
>
0
</property>
<property
name=
"bottom_padding"
>
0
</property>
<property
name=
"left_padding"
>
0
</property>
<property
name=
"right_padding"
>
0
</property>
<child>
<widget
class=
"GtkHBox"
id=
"hbox2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"homogeneous"
>
False
</property>
<property
name=
"spacing"
>
2
</property>
<child>
<widget
class=
"GtkImage"
id=
"image2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"stock"
>
gtk-go-down
</property>
<property
name=
"icon_size"
>
4
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
</widget>
<packing>
<property
name=
"padding"
>
0
</property>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
_Retrieve
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0.5
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_NONE
</property>
<property
name=
"width_chars"
>
-1
</property>
<property
name=
"single_line_mode"
>
False
</property>
<property
name=
"angle"
>
0
</property>
</widget>
<packing>
<property
name=
"padding"
>
0
</property>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
</packing>
</child>
</widget>
</child>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property
name=
"padding"
>
0
</property>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
</packing>
</child>
</widget>
</child>
</widget>
</glade-interface>
This diff is collapsed.
Click to expand it.
src/profile_window.py
0 → 100644
+
289
−
0
View file @
cfd9c878
## profile_window.py
##
## Copyright (C) 2003-2006 Yann Le Boulanger <asterix@lagaule.org>
## Copyright (C) 2005-2006 Nikos Kouremenos <kourem@gmail.com>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation; version 2 only.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
import
gtk
import
gobject
import
base64
import
mimetypes
import
os
import
time
import
locale
import
gtkgui_helpers
import
dialogs
from
common
import
helpers
from
common
import
gajim
from
common.i18n
import
Q_
def
get_avatar_pixbuf_encoded_mime
(
photo
):
'''
return the pixbuf of the image
photo is a dictionary containing PHOTO information
'''
if
not
isinstance
(
photo
,
dict
):
return
None
,
None
,
None
img_decoded
=
None
avatar_encoded
=
None
avatar_mime_type
=
None
if
photo
.
has_key
(
'
BINVAL
'
):
img_encoded
=
photo
[
'
BINVAL
'
]
avatar_encoded
=
img_encoded
try
:
img_decoded
=
base64
.
decodestring
(
img_encoded
)
except
:
pass
if
img_decoded
:
if
photo
.
has_key
(
'
TYPE
'
):
avatar_mime_type
=
photo
[
'
TYPE
'
]
pixbuf
=
gtkgui_helpers
.
get_pixbuf_from_data
(
img_decoded
)
else
:
pixbuf
,
avatar_mime_type
=
gtkgui_helpers
.
get_pixbuf_from_data
(
img_decoded
,
want_type
=
True
)
else
:
pixbuf
=
None
return
pixbuf
,
avatar_encoded
,
avatar_mime_type
class
ProfileWindow
:
'''
Class for our information window
'''
def
__init__
(
self
,
account
):
self
.
xml
=
gtkgui_helpers
.
get_glade
(
'
profile_window.glade
'
)
self
.
window
=
self
.
xml
.
get_widget
(
'
profile_window
'
)
self
.
account
=
account
self
.
jid
=
gajim
.
get_jid_from_account
(
account
)
self
.
avatar_mime_type
=
None
self
.
avatar_encoded
=
None
self
.
avatar_save_as_id
=
None
self
.
xml
.
signal_autoconnect
(
self
)
self
.
window
.
show_all
()
def
on_profile_window_destroy
(
self
,
widget
):
del
gajim
.
interface
.
instances
[
self
.
account
][
'
profile
'
]
def
on_profile_window_key_press_event
(
self
,
widget
,
event
):
if
event
.
keyval
==
gtk
.
keysyms
.
Escape
:
self
.
window
.
destroy
()
def
on_clear_button_clicked
(
self
,
widget
):
# empty the image
path
=
os
.
path
.
join
(
gajim
.
DATA_DIR
,
'
pixmaps
'
,
'
person.png
'
)
self
.
xml
.
get_widget
(
'
PHOTO_image
'
).
set_from_file
(
path
)
self
.
avatar_encoded
=
None
if
self
.
avatar_save_as_id
:
self
.
xml
.
get_widget
(
'
set_avatar_button
'
).
disconnect
(
self
.
avatar_save_as_id
)
self
.
avatar_save_as_id
=
None
def
on_set_avatar_button_clicked
(
self
,
widget
):
f
=
None
def
on_ok
(
widget
,
path_to_file
):
filesize
=
os
.
path
.
getsize
(
path_to_file
)
# in bytes
#FIXME: use messages for invalid file for 0.11
invalid_file
=
False
msg
=
''
if
os
.
path
.
isfile
(
path_to_file
):
stat
=
os
.
stat
(
path_to_file
)
if
stat
[
6
]
==
0
:
invalid_file
=
True
else
:
invalid_file
=
True
if
not
invalid_file
and
filesize
>
16384
:
# 16 kb
try
:
pixbuf
=
gtk
.
gdk
.
pixbuf_new_from_file
(
path_to_file
)
# get the image at 'notification size'
# and use that user did not specify in ACE crazy size
scaled_pixbuf
=
gtkgui_helpers
.
get_scaled_pixbuf
(
pixbuf
,
'
tooltip
'
)
except
gobject
.
GError
,
msg
:
# unknown format
# msg should be string, not object instance
msg
=
str
(
msg
)
invalid_file
=
True
if
invalid_file
:
if
True
:
# keep identation
dialogs
.
ErrorDialog
(
_
(
'
Could not load image
'
),
msg
)
return
if
filesize
>
16384
:
if
scaled_pixbuf
:
path_to_file
=
os
.
path
.
join
(
gajim
.
TMP
,
'
avatar_scaled.png
'
)
scaled_pixbuf
.
save
(
path_to_file
,
'
png
'
)
self
.
dialog
.
destroy
()
fd
=
open
(
path_to_file
,
'
rb
'
)
data
=
fd
.
read
()
pixbuf
=
gtkgui_helpers
.
get_pixbuf_from_data
(
data
)
# rescale it
pixbuf
=
gtkgui_helpers
.
get_scaled_pixbuf
(
pixbuf
,
'
vcard
'
)
image
=
self
.
xml
.
get_widget
(
'
PHOTO_image
'
)
image
.
set_from_pixbuf
(
pixbuf
)
self
.
avatar_encoded
=
base64
.
encodestring
(
data
)
# returns None if unknown type
self
.
avatar_mime_type
=
mimetypes
.
guess_type
(
path_to_file
)[
0
]
self
.
dialog
=
dialogs
.
ImageChooserDialog
(
on_response_ok
=
on_ok
)
def
on_PHOTO_button_press_event
(
self
,
widget
,
event
):
'''
If right-clicked, show popup
'''
if
event
.
button
==
3
:
# right click
nick
=
gajim
.
config
.
get_per
(
'
accounts
'
,
self
.
account
,
'
name
'
)
menu
=
gtk
.
Menu
()
menuitem
=
gtk
.
ImageMenuItem
(
gtk
.
STOCK_SAVE_AS
)
menuitem
.
connect
(
'
activate
'
,
gtkgui_helpers
.
on_avatar_save_as_menuitem_activate
,
self
.
jid
,
None
,
nick
+
'
.jpeg
'
)
menu
.
append
(
menuitem
)
# show clear
menuitem
=
gtk
.
ImageMenuItem
(
gtk
.
STOCK_CLEAR
)
menuitem
.
connect
(
'
activate
'
,
self
.
on_clear_button_clicked
)
menu
.
append
(
menuitem
)
menu
.
connect
(
'
selection-done
'
,
lambda
w
:
w
.
destroy
())
# show the menu
menu
.
show_all
()
menu
.
popup
(
None
,
None
,
None
,
event
.
button
,
event
.
time
)
def
set_value
(
self
,
entry_name
,
value
):
try
:
self
.
xml
.
get_widget
(
entry_name
).
set_text
(
value
)
except
AttributeError
:
pass
def
set_values
(
self
,
vcard
):
for
i
in
vcard
.
keys
():
if
i
==
'
PHOTO
'
:
pixbuf
,
self
.
avatar_encoded
,
self
.
avatar_mime_type
=
\
get_avatar_pixbuf_encoded_mime
(
vcard
[
i
])
image
=
self
.
xml
.
get_widget
(
'
PHOTO_image
'
)
if
not
pixbuf
:
image
.
set_from_icon_name
(
'
stock_person
'
,
gtk
.
ICON_SIZE_DIALOG
)
continue
pixbuf
=
gtkgui_helpers
.
get_scaled_pixbuf
(
pixbuf
,
'
vcard
'
)
image
.
set_from_pixbuf
(
pixbuf
)
button
=
self
.
xml
.
get_widget
(
'
set_avatar_button
'
)
self
.
avatar_save_as_id
=
button
.
connect
(
'
button-press-event
'
,
self
.
on_PHOTO_button_press_event
)
button
.
show
()
continue
if
i
==
'
ADR
'
or
i
==
'
TEL
'
or
i
==
'
EMAIL
'
:
for
entry
in
vcard
[
i
]:
add_on
=
'
_HOME
'
if
'
WORK
'
in
entry
:
add_on
=
'
_WORK
'
for
j
in
entry
.
keys
():
self
.
set_value
(
i
+
add_on
+
'
_
'
+
j
+
'
_entry
'
,
entry
[
j
])
if
isinstance
(
vcard
[
i
],
dict
):
for
j
in
vcard
[
i
].
keys
():
self
.
set_value
(
i
+
'
_
'
+
j
+
'
_entry
'
,
vcard
[
i
][
j
])
else
:
if
i
==
'
DESC
'
:
self
.
xml
.
get_widget
(
'
DESC_textview
'
).
get_buffer
().
set_text
(
vcard
[
i
],
0
)
else
:
self
.
set_value
(
i
+
'
_entry
'
,
vcard
[
i
])
def
add_to_vcard
(
self
,
vcard
,
entry
,
txt
):
'''
Add an information to the vCard dictionary
'''
entries
=
entry
.
split
(
'
_
'
)
loc
=
vcard
if
len
(
entries
)
==
3
:
# We need to use lists
if
not
loc
.
has_key
(
entries
[
0
]):
loc
[
entries
[
0
]]
=
[]
found
=
False
for
e
in
loc
[
entries
[
0
]]:
if
entries
[
1
]
in
e
:
found
=
True
break
if
found
:
e
[
entries
[
2
]]
=
txt
else
:
loc
[
entries
[
0
]].
append
({
entries
[
1
]:
''
,
entries
[
2
]:
txt
})
return
vcard
while
len
(
entries
)
>
1
:
if
not
loc
.
has_key
(
entries
[
0
]):
loc
[
entries
[
0
]]
=
{}
loc
=
loc
[
entries
[
0
]]
del
entries
[
0
]
loc
[
entries
[
0
]]
=
txt
return
vcard
def
make_vcard
(
self
):
'''
make the vCard dictionary
'''
entries
=
[
'
FN
'
,
'
NICKNAME
'
,
'
BDAY
'
,
'
EMAIL_HOME_USERID
'
,
'
URL
'
,
'
TEL_HOME_NUMBER
'
,
'
N_FAMILY
'
,
'
N_GIVEN
'
,
'
N_MIDDLE
'
,
'
N_PREFIX
'
,
'
N_SUFFIX
'
,
'
ADR_HOME_STREET
'
,
'
ADR_HOME_EXTADR
'
,
'
ADR_HOME_LOCALITY
'
,
'
ADR_HOME_REGION
'
,
'
ADR_HOME_PCODE
'
,
'
ADR_HOME_CTRY
'
,
'
ORG_ORGNAME
'
,
'
ORG_ORGUNIT
'
,
'
TITLE
'
,
'
ROLE
'
,
'
TEL_WORK_NUMBER
'
,
'
EMAIL_WORK_USERID
'
,
'
ADR_WORK_STREET
'
,
'
ADR_WORK_EXTADR
'
,
'
ADR_WORK_LOCALITY
'
,
'
ADR_WORK_REGION
'
,
'
ADR_WORK_PCODE
'
,
'
ADR_WORK_CTRY
'
]
vcard
=
{}
for
e
in
entries
:
txt
=
self
.
xml
.
get_widget
(
e
+
'
_entry
'
).
get_text
().
decode
(
'
utf-8
'
)
if
txt
!=
''
:
vcard
=
self
.
add_to_vcard
(
vcard
,
e
,
txt
)
# DESC textview
buff
=
self
.
xml
.
get_widget
(
'
DESC_textview
'
).
get_buffer
()
start_iter
=
buff
.
get_start_iter
()
end_iter
=
buff
.
get_end_iter
()
txt
=
buff
.
get_text
(
start_iter
,
end_iter
,
0
)
if
txt
!=
''
:
vcard
[
'
DESC
'
]
=
txt
.
decode
(
'
utf-8
'
)
# Avatar
if
self
.
avatar_encoded
:
vcard
[
'
PHOTO
'
]
=
{
'
BINVAL
'
:
self
.
avatar_encoded
}
if
self
.
avatar_mime_type
:
vcard
[
'
PHOTO
'
][
'
TYPE
'
]
=
self
.
avatar_mime_type
return
vcard
def
on_publish_button_clicked
(
self
,
widget
):
if
gajim
.
connections
[
self
.
account
].
connected
<
2
:
dialogs
.
ErrorDialog
(
_
(
'
You are not connected to the server
'
),
_
(
'
Without a connection you can not publish your contact
'
'
information.
'
))
return
vcard
=
self
.
make_vcard
()
nick
=
''
if
vcard
.
has_key
(
'
NICKNAME
'
):
nick
=
vcard
[
'
NICKNAME
'
]
if
nick
==
''
:
nick
=
gajim
.
config
.
get_per
(
'
accounts
'
,
self
.
account
,
'
name
'
)
gajim
.
nicks
[
self
.
account
]
=
nick
gajim
.
connections
[
self
.
account
].
send_vcard
(
vcard
)
def
on_retrieve_button_clicked
(
self
,
widget
):
entries
=
[
'
FN
'
,
'
NICKNAME
'
,
'
BDAY
'
,
'
EMAIL_HOME_USERID
'
,
'
URL
'
,
'
TEL_HOME_NUMBER
'
,
'
N_FAMILY
'
,
'
N_GIVEN
'
,
'
N_MIDDLE
'
,
'
N_PREFIX
'
,
'
N_SUFFIX
'
,
'
ADR_HOME_STREET
'
,
'
ADR_HOME_EXTADR
'
,
'
ADR_HOME_LOCALITY
'
,
'
ADR_HOME_REGION
'
,
'
ADR_HOME_PCODE
'
,
'
ADR_HOME_CTRY
'
,
'
ORG_ORGNAME
'
,
'
ORG_ORGUNIT
'
,
'
TITLE
'
,
'
ROLE
'
,
'
ADR_WORK_STREET
'
,
'
ADR_WORK_EXTADR
'
,
'
ADR_WORK_LOCALITY
'
,
'
ADR_WORK_REGION
'
,
'
ADR_WORK_PCODE
'
,
'
ADR_WORK_CTRY
'
]
if
gajim
.
connections
[
self
.
account
].
connected
>
1
:
# clear all entries
for
e
in
entries
:
self
.
xml
.
get_widget
(
e
+
'
_entry
'
).
set_text
(
''
)
self
.
xml
.
get_widget
(
'
DESC_textview
'
).
get_buffer
().
set_text
(
''
)
self
.
xml
.
get_widget
(
'
PHOTO_image
'
).
set_from_pixbuf
(
None
)
if
self
.
avatar_save_as_id
:
self
.
xml
.
get_widget
(
'
set_avatar_button
'
).
disconnect
(
self
.
avatar_save_as_id
)
self
.
avatar_save_as_id
=
None
gajim
.
connections
[
self
.
account
].
request_vcard
(
self
.
jid
)
else
:
dialogs
.
ErrorDialog
(
_
(
'
You are not connected to the server
'
),
_
(
'
Without a connection, you can not get your contact information.
'
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment