Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vladislav Yarmak
gajim-plugins
Commits
709b44a0
Commit
709b44a0
authored
Jan 24, 2017
by
Philipp Hörist
Browse files
[omemo] Port UI changes from master
parent
cc04e3ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
omemo/config_dialog.ui
View file @
709b44a0
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires
lib=
"gtk+"
version=
"2.16"
/>
<!-- interface-naming-policy toplevel-contextual -->
<object
class=
"GtkListStore"
id=
"account_store"
>
<columns>
<!-- column-name accountname -->
<column
type=
"gchararray"
/>
</columns>
</object>
<object
class=
"GtkListStore"
id=
"deviceid_store"
>
<columns>
<!-- column-name Device -->
<column
type=
"gchararray"
/>
</columns>
</object>
<object
class=
"GtkListStore"
id=
"fingerprint_store"
>
<columns>
<!-- column-name id -->
<column
type=
"gint"
/>
<!-- column-name screenname -->
<column
type=
"gchararray"
/>
<!-- column-name trust -->
<column
type=
"gchararray"
/>
<!-- column-name fingerprint -->
<column
type=
"gchararray"
/>
</columns>
</object>
<object
class=
"GtkNotebook"
id=
"notebook1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<child>
<object
class=
"GtkVBox"
id=
"vbox1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
12
</property>
<property
name=
"spacing"
>
10
</property>
<child>
<object
class=
"GtkHBox"
id=
"hbox2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"spacing"
>
5
</property>
<child>
<object
class=
"GtkLabel"
id=
"label4"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"label for account selector"
>
<
b
>
Account:
<
/b
>
</property>
<property
name=
"use_markup"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBox"
id=
"account_combobox"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"model"
>
account_store
</property>
<signal
name=
"changed"
handler=
"account_combobox_changed_cb"
swapped=
"no"
/>
<child>
<object
class=
"GtkCellRendererText"
id=
"cellrenderertext1"
/>
<attributes>
<attribute
name=
"text"
>
0
</attribute>
</attributes>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkHBox"
id=
"hbox1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<child>
<object
class=
"GtkLabel"
id=
"fingerprint_label_desc"
>
<property
name=
"width_request"
>
110
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"Descriptive label"
>
Own Fingerprint:
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"fingerprint_label"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
>
<
tt
>
-------- -------- -------- -------- --------
<
/tt
>
</property>
<property
name=
"use_markup"
>
True
</property>
<property
name=
"selectable"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkHBox"
id=
"hbox5"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<child>
<object
class=
"GtkLabel"
id=
"OwnIDLabel"
>
<property
name=
"width_request"
>
110
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Own Device ID:
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"ID"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
0
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
</child>
<child
type=
"tab"
>
<object
class=
"GtkLabel"
id=
"label1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"tab label"
>
Own Fingerprints
</property>
</object>
<packing>
<property
name=
"tab_fill"
>
False
</property>
</packing>
</child>
<child>
<object
class=
"GtkVBox"
id=
"vbox4"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
12
</property>
<property
name=
"spacing"
>
10
</property>
<child>
<object
class=
"GtkScrolledWindow"
id=
"scrolledwindow1"
>
<property
name=
"height_request"
>
200
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"hscrollbar_policy"
>
automatic
</property>
<property
name=
"vscrollbar_policy"
>
automatic
</property>
<child>
<object
class=
"GtkTreeView"
id=
"fingerprint_view"
>
<property
name=
"height_request"
>
300
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"model"
>
fingerprint_store
</property>
<property
name=
"search_column"
>
0
</property>
<property
name=
"tooltip_column"
>
3
</property>
<signal
name=
"button-press-event"
handler=
"fpr_button_pressed_cb"
swapped=
"no"
/>
<child>
<object
class=
"GtkTreeViewColumn"
id=
"name_column"
>
<property
name=
"resizable"
>
True
</property>
<property
name=
"title"
>
Name
</property>
<child>
<object
class=
"GtkCellRendererText"
id=
"cellrenderertext2"
/>
<attributes>
<attribute
name=
"text"
>
1
</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object
class=
"GtkTreeViewColumn"
id=
"trust_column"
>
<property
name=
"resizable"
>
True
</property>
<property
name=
"title"
>
Trust
</property>
<child>
<object
class=
"GtkCellRendererText"
id=
"cellrenderertoggle1"
/>
<attributes>
<attribute
name=
"text"
>
2
</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object
class=
"GtkTreeViewColumn"
id=
"fingerprint_column"
>
<property
name=
"resizable"
>
True
</property>
<property
name=
"title"
>
Fingerprint
</property>
<child>
<object
class=
"GtkCellRendererText"
id=
"cellrenderertext4"
/>
<attributes>
<attribute
name=
"markup"
>
3
</attribute>
</attributes>
</child>
</object>
</child>
</object>
</child>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkHBox"
id=
"hbox3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"spacing"
>
5
</property>
<child>
<object
class=
"GtkButton"
id=
"trust_button"
>
<property
name=
"label"
translatable=
"yes"
comments=
"button"
>
Trust/Revoke Fingerprint
</property>
<property
name=
"width_request"
>
200
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<signal
name=
"clicked"
handler=
"trust_button_clicked_cb"
swapped=
"no"
/>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child
type=
"tab"
>
<object
class=
"GtkLabel"
id=
"label2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"tab label"
>
Known Fingerprints
</property>
</object>
<packing>
<property
name=
"position"
>
1
</property>
<property
name=
"tab_fill"
>
False
</property>
</packing>
</child>
<child>
<object
class=
"GtkVBox"
id=
"vbox3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
12
</property>
<property
name=
"spacing"
>
10
</property>
<child>
<object
class=
"GtkLabel"
id=
"label5"
>
<property
name=
"height_request"
>
25
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Published Devices
</property>
<attributes>
<attribute
name=
"style"
value=
"normal"
/>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"padding"
>
7
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkScrolledWindow"
id=
"scrolledwindow2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"hscrollbar_policy"
>
never
</property>
<property
name=
"vscrollbar_policy"
>
automatic
</property>
<child>
<object
class=
"GtkTreeView"
id=
"deviceid_view"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"model"
>
deviceid_store
</property>
<property
name=
"search_column"
>
0
</property>
<child>
<object
class=
"GtkTreeViewColumn"
id=
"deviceid_column"
>
<property
name=
"title"
translatable=
"yes"
>
Device ID
</property>
<child>
<object
class=
"GtkCellRendererText"
id=
"cellrenderertext3"
/>
<attributes>
<attribute
name=
"text"
>
0
</attribute>
</attributes>
</child>
</object>
</child>
</object>
</child>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkHBox"
id=
"hbox4"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"spacing"
>
5
</property>
<child>
<object
class=
"GtkButton"
id=
"cleardevice_button"
>
<property
name=
"label"
translatable=
"yes"
>
Clear Devices
</property>
<property
name=
"width_request"
>
160
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<signal
name=
"clicked"
handler=
"cleardevice_button_clicked_cb"
swapped=
"no"
/>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"refresh"
>
<property
name=
"label"
>
gtk-refresh
</property>
<property
name=
"width_request"
>
160
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
<signal
name=
"clicked"
handler=
"refresh_button_clicked_cb"
swapped=
"no"
/>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"position"
>
2
</property>
</packing>
</child>
<child
type=
"tab"
>
<object
class=
"GtkLabel"
id=
"label3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Clear Devices
</property>
</object>
<packing>
<property
name=
"position"
>
2
</property>
<property
name=
"tab_fill"
>
False
</property>
</packing>
</child>
</object>
<object
class=
"GtkMenu"
id=
"fprclipboard_menu"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<child>
<object
class=
"GtkMenuItem"
id=
"copyfprclipboard_item"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"Context menu item"
>
Copy to clipboard
</property>
<property
name=
"use_underline"
>
True
</property>
<signal
name=
"activate"
handler=
"clipboard_button_cb"
swapped=
"no"
/>
</object>
</child>
</object>
</interface>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
<interface>
<requires
lib=
"gtk+"
version=
"3.0"
/>
<object
class=
"GtkListStore"
id=
"account_store"
>
<columns>
<!-- column-name accounts -->
<column
type=
"gchararray"
/>
</columns>
</object>
<object
class=
"GtkListStore"
id=
"deviceid_store"
>
<columns>
<!-- column-name Device -->
<column
type=
"gint"
/>
</columns>
</object>
<object
class=
"GtkListStore"
id=
"disabled_account_store"
>
<columns>
<!-- column-name accounts -->
<column
type=
"gchararray"
/>
</columns>
</object>
<object
class=
"GtkListStore"
id=
"fingerprint_store"
>
<columns>
<!-- column-name id -->
<column
type=
"gint"
/>
<!-- column-name screenname -->
<column
type=
"gchararray"
/>
<!-- column-name trust -->
<column
type=
"gchararray"
/>
<!-- column-name fingerprint -->
<column
type=
"gchararray"
/>
<!-- column-name deviceid -->
<column
type=
"gint"
/>
</columns>
</object>
<object
class=
"GtkNotebook"
id=
"notebook1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<child>
<object
class=
"GtkVBox"
id=
"vbox1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
12
</property>
<property
name=
"spacing"
>
10
</property>
<child>
<object
class=
"GtkHBox"
id=
"hbox2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"spacing"
>
5
</property>
<child>
<object
class=
"GtkLabel"
id=
"label4"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"label for account selector"
>
<
b
>
Account:
<
/b
>
</property>
<property
name=
"use_markup"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBox"
id=
"account_combobox"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"model"
>
account_store
</property>
<signal
name=
"changed"
handler=
"account_combobox_changed_cb"
swapped=
"no"
/>
<child>
<object
class=
"GtkCellRendererText"
id=
"cellrenderertext1"
/>
<attributes>
<attribute
name=
"text"
>
0
</attribute>
</attributes>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkHBox"
id=
"hbox1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<child>
<object
class=
"GtkLabel"
id=
"fingerprint_label_desc"
>
<property
name=
"width_request"
>
110
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
comments=
"Descriptive label"
>
Own Fingerprint:
</property>
<property
name=
"xalign"
>
0
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"fingerprint_label"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"use_markup"
>
True
</property>
<property
name=
"selectable"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkHBox"
id=
"hbox5"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<child>
<object
class=
"GtkLabel"
id=
"OwnIDLabel"
>
<property
name=
"width_request"
>
110
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Own Device ID:
</property>
<property
name=
"xalign"
>
0
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"ID"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
<child>
<object
class=
"GtkImage"
id=
"qrcode"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"stock"
>
gtk-missing-image
</property>
<property
name=
"icon_size"
>
0
</property>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
3
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"qrinfo"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"no_show_all"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
For Verification QRCode please install python-qrcode
</property>
<property
name=
"xalign"
>
0
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
<attribute
name=
"foreground"
value=
"#ffff00000000"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
4
</property>
</packing>