[geary/wip/714104-refine-account-dialog: 52/69] Fix crash editing account name



commit 72f02ab08aaabe301479138831d5cc57d8e960a0
Author: Michael Gratton <mike vee net>
Date:   Sat Oct 20 10:44:04 2018 +1100

    Fix crash editing account name

 src/client/accounts/accounts-editor-edit-pane.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/client/accounts/accounts-editor-edit-pane.vala 
b/src/client/accounts/accounts-editor-edit-pane.vala
index ebef8fc6..5bbbef14 100644
--- a/src/client/accounts/accounts-editor-edit-pane.vala
+++ b/src/client/accounts/accounts-editor-edit-pane.vala
@@ -280,14 +280,7 @@ private class Accounts.NicknameRow : AccountRow<EditorEditPane,Gtk.Label> {
             });
         entry.show();
 
-        popover.add_labelled_row(
-            // Translators: Label used when editing the account's
-            // name.
-            _("Account name:"),
-            entry
-        );
-
-        popover.set_relative_to(this);
+        popover.set_relative_to(this.value);
         popover.layout.add(entry);
         popover.popup();
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]