aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2024-09-15 20:04:52 +0200
committerfiaxh <git@lightrise.org>2024-09-15 20:15:14 +0200
commite8f82fd328697542d2ee0233635b694827a5cc79 (patch)
treeb3fe7981ded0f9d570c64a09494734711035b09c /plugins
parent63ba0bc93636de557ced29c19b2b61eeeab57bf8 (diff)
downloaddino-e8f82fd328697542d2ee0233635b694827a5cc79.tar.gz
dino-e8f82fd328697542d2ee0233635b694827a5cc79.zip
Code cleanup: Remove broken disable CSD code
Diffstat (limited to 'plugins')
-rw-r--r--plugins/omemo/src/ui/contact_details_dialog.vala6
-rw-r--r--plugins/omemo/src/ui/manage_key_dialog.vala2
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;