diff options
| author | fiaxh <git@lightrise.org> | 2025-10-06 18:17:17 +0200 |
|---|---|---|
| committer | fiaxh <git@lightrise.org> | 2025-10-06 18:17:17 +0200 |
| commit | f17926329915fcd8f95e00ab042d1a22ea2b7371 (patch) | |
| tree | 3e740e85246e097b9f1a767b24a450f772af44d1 /main/src/windows/preferences_window/preferences_window.vala | |
| parent | 18f87d11986f1021d98f1be58c89296d852120c3 (diff) | |
Use AdwDialog for conversation details and preferences
Diffstat (limited to 'main/src/windows/preferences_window/preferences_window.vala')
| -rw-r--r-- | main/src/windows/preferences_window/preferences_window.vala | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/main/src/windows/preferences_window/preferences_window.vala b/main/src/windows/preferences_window/preferences_window.vala deleted file mode 100644 index cee4e34e..00000000 --- a/main/src/windows/preferences_window/preferences_window.vala +++ /dev/null @@ -1,28 +0,0 @@ -using Gdk; -using Dino.Entities; -using Xmpp; -using Xmpp.Xep; -using Gee; -using Gtk; - -[GtkTemplate (ui = "/im/dino/Dino/preferences_window/preferences_window.ui")] -public class Dino.Ui.PreferencesWindow : Adw.PreferencesWindow { - [GtkChild] public unowned Dino.Ui.PreferencesWindowAccounts accounts_page; - [GtkChild] public unowned Dino.Ui.PreferencesWindowEncryption encryption_page; - [GtkChild] public unowned Dino.Ui.GeneralPreferencesPage general_page; - public Dino.Ui.AccountPreferencesSubpage account_page = new Dino.Ui.AccountPreferencesSubpage(); - - [GtkChild] public unowned ViewModel.PreferencesWindow model { get; } - - construct { - this.bind_property("model", accounts_page, "model", BindingFlags.SYNC_CREATE); - this.bind_property("model", account_page, "model", BindingFlags.SYNC_CREATE); - this.bind_property("model", encryption_page, "model", BindingFlags.SYNC_CREATE); - - accounts_page.account_chosen.connect((account) => { - model.selected_account = model.account_details[account]; - this.present_subpage(account_page); -// this.present_subpage(new Adw.NavigationPage(account_page, "Account: %s".printf(account.bare_jid.to_string()))); - }); - } -}
\ No newline at end of file |
