aboutsummaryrefslogtreecommitdiff
path: root/main/src/windows/preferences_window/account_preferences_subpage.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/windows/preferences_window/account_preferences_subpage.vala')
-rw-r--r--main/src/windows/preferences_window/account_preferences_subpage.vala7
1 files changed, 2 insertions, 5 deletions
diff --git a/main/src/windows/preferences_window/account_preferences_subpage.vala b/main/src/windows/preferences_window/account_preferences_subpage.vala
index 1a7d5696..92fffa76 100644
--- a/main/src/windows/preferences_window/account_preferences_subpage.vala
+++ b/main/src/windows/preferences_window/account_preferences_subpage.vala
@@ -31,13 +31,11 @@ public class Dino.Ui.AccountPreferencesSubpage : Gtk.Box {
private ulong alias_entry_changed = 0;
construct {
-#if Adw_1_4
headerbar.show_title = false;
-#endif
button_container.layout_manager = new NaturalDirectionBoxLayout((BoxLayout)button_container.layout_manager);
back_button.clicked.connect(() => {
var window = (Adw.PreferencesWindow) this.get_root();
- window.close_subpage();
+ window.pop_subpage();
});
edit_avatar_button.clicked.connect(() => {
show_select_avatar();
@@ -173,8 +171,7 @@ public class Dino.Ui.AccountPreferencesSubpage : Gtk.Box {
model.remove_account(account);
// Close the account subpage
var window = (Adw.PreferencesWindow) this.get_root();
- window.close_subpage();
-// window.pop_subpage();
+ window.pop_subpage();
}
dialog.close();
});