1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../sane-frontends/hot-fix.patch
5 # Copyright (C) 2010 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -Nur sane-frontends-1.0.14-orig/src/gtkglue.c sane-frontends-1.0.14/src/gtkglue.c
18 --- sane-frontends-1.0.14-orig/src/gtkglue.c 2010-07-23 16:13:33.254914203 +0000
19 +++ sane-frontends-1.0.14/src/gtkglue.c 2010-07-23 16:14:43.078912232 +0000
20 @@ -1476,8 +1476,13 @@
21 || opt->type == SANE_TYPE_GROUP || !dialog->element[i].widget)
24 +#ifdef SANE_CAP_ALWAYS_SETTABLE
25 if (!(opt->cap & SANE_CAP_ALWAYS_SETTABLE))
26 gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);
28 + gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);