[simple-scan] Change formatting of scan_button.sensitive set
- From: Bartosz <bkosiorek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [simple-scan] Change formatting of scan_button.sensitive set
- Date: Wed, 22 Apr 2020 11:48:25 +0000 (UTC)
commit d6dbee80485dcc23e27a705c4097146b2b75bec6
Author: Bartosz Kosiorek <gang65 poczta onet pl>
Date: Wed Apr 22 13:37:11 2020 +0200
Change formatting of scan_button.sensitive set
src/app-window.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/app-window.vala b/src/app-window.vala
index 0348160..c316bb0 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -246,7 +246,7 @@ public class AppWindow : Gtk.ApplicationWindow
private void update_scan_status ()
{
- scan_button.set_sensitive(false);
+ scan_button.sensitive = false;
if (!have_devices)
{
status_primary_label.set_text (/* Label shown when searching for scanners */
@@ -256,7 +256,7 @@ public class AppWindow : Gtk.ApplicationWindow
}
else if (get_selected_device () != null)
{
- scan_button.set_sensitive(true);
+ scan_button.sensitive = true;
status_primary_label.set_text (/* Label shown when detected a scanner */
_("Ready to Scan"));
status_secondary_label.set_text (get_selected_device_label ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]