Skip to content

Commit

Permalink
#92: make keyring error more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
xou816 committed Mar 13, 2021
1 parent 95108b7 commit 350331f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/components/login/login_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ impl LoginModel {
pub fn save_for_autologin(&self, credentials: credentials::Credentials) {
if credentials::save_credentials(credentials).is_err() {
self.dispatcher.dispatch(AppAction::ShowNotification(
"Could not save password.".to_string(),
"Could not save password. Make sure the session keyring is unlocked.".to_string(),
));
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@
</child>
<child type="overlay">
<object class="GtkBox" id="notification">
<property name="width-request">150</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
Expand All @@ -187,6 +186,7 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Information</property>
<property name="wrap">True</property>
</object>
<packing>
<property name="expand">False</property>
Expand Down

0 comments on commit 350331f

Please sign in to comment.