summaryrefslogtreecommitdiff
path: root/extra/sane-frontends/MissingCapsFlag.patch
blob: 4175a87f8e66a755c82c87f70e50f9399edf2f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/gtkglue.c	2005-04-16 15:12:07.000000000 +0200
+++ src/gtkglue.c.new	2009-06-24 00:26:46.000000000 +0200
@@ -1476,8 +1476,7 @@
 	  || opt->type == SANE_TYPE_GROUP || !dialog->element[i].widget)
 	continue;
 
-      if (!(opt->cap & SANE_CAP_ALWAYS_SETTABLE))
-	gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);
+      gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);
     }
 }