summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing-extras/RajcePublishing.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-06-26 08:40:03 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-06-26 08:40:03 +0200
commit386403d8a5de83642598d811b6a6a5c40cce51c0 (patch)
treeabdcc42a870fa2becbf189a67e42d9b1c63a8ee1 /plugins/shotwell-publishing-extras/RajcePublishing.vala
parent5db2423befaf4834bb8bd9ae297817debdaa3b78 (diff)
parent29a7aef998e975b42401cfa96d1b750d91eadf06 (diff)
Merge tag 'upstream/0.23.2'
Upstream version 0.23.2
Diffstat (limited to 'plugins/shotwell-publishing-extras/RajcePublishing.vala')
-rw-r--r--plugins/shotwell-publishing-extras/RajcePublishing.vala6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/shotwell-publishing-extras/RajcePublishing.vala b/plugins/shotwell-publishing-extras/RajcePublishing.vala
index 8ae05c6..d282ed5 100644
--- a/plugins/shotwell-publishing-extras/RajcePublishing.vala
+++ b/plugins/shotwell-publishing-extras/RajcePublishing.vala
@@ -932,10 +932,8 @@ internal class AuthenticationPane : Spit.Publishing.DialogPane, Object
private void update_login_button_sensitivity()
{
- login_button.set_sensitive(
- !is_string_empty(username_entry.get_text()) &&
- !is_string_empty(password_entry.get_text())
- );
+ login_button.set_sensitive(username_entry.text_length > 0 &&
+ password_entry.text_length > 0);
}
public Gtk.Widget get_widget()