diff options
Diffstat (limited to 'plugins/omemo/src/ui')
-rw-r--r-- | plugins/omemo/src/ui/contact_details_dialog.vala | 6 | ||||
-rw-r--r-- | plugins/omemo/src/ui/manage_key_dialog.vala | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/plugins/omemo/src/ui/contact_details_dialog.vala b/plugins/omemo/src/ui/contact_details_dialog.vala index 61fae286..1fddd759 100644 --- a/plugins/omemo/src/ui/contact_details_dialog.vala +++ b/plugins/omemo/src/ui/contact_details_dialog.vala @@ -55,15 +55,11 @@ public class ContactDetailsDialog : Gtk.Dialog { } public ContactDetailsDialog(Plugin plugin, Account account, Jid jid) { - Object(use_header_bar : Environment.get_variable("GTK_CSD") != "0" ? 1 : 0); + Object(use_header_bar : 1); this.plugin = plugin; this.account = account; this.jid = jid; - if (Environment.get_variable("GTK_CSD") != "0") { -// ((HeaderBar) get_header_bar()).set_subtitle(jid.bare_jid.to_string()); - } - keys_listbox.row_activated.connect(on_key_entry_clicked); inactive_keys_listbox.row_activated.connect(on_key_entry_clicked); auto_accept_switch.state_set.connect(on_auto_accept_toggled); diff --git a/plugins/omemo/src/ui/manage_key_dialog.vala b/plugins/omemo/src/ui/manage_key_dialog.vala index b47b2008..41c2321b 100644 --- a/plugins/omemo/src/ui/manage_key_dialog.vala +++ b/plugins/omemo/src/ui/manage_key_dialog.vala @@ -40,7 +40,7 @@ public class ManageKeyDialog : Gtk.Dialog { } public ManageKeyDialog(Row device, Database db) { - Object(use_header_bar : Environment.get_variable("GTK_CSD") != "0" ? 1 : 0); + Object(use_header_bar : 1); this.device = device; this.db = db; |