kopia lustrzana https://gitlab.com/sane-project/frontends
fixed handling of SANE_CAP_ALWAYS_SETTABLE existence in gsg_set_sensitivity()
- when SANE_CAP_ALWAYS_SETTABLE doesn't exit, let gsg_set_sensitivity() call gtk_widget_set_sensitive()merge-requests/2/head
rodzic
aed8faa20e
commit
c554cfce37
|
@ -1,3 +1,7 @@
|
|||
2009-06-24 Stéphane Voltz <stef.dev@free.fr>
|
||||
* src/gtkglue.c: fixed handling of SANE_CAP_ALWAYS_SETTABLE existence
|
||||
in gsg_set_sensitivity()
|
||||
|
||||
2008-09-23 Stéphane Voltz <stef.dev@free.fr>
|
||||
* src/progress.c src/progress.h: add an estimated time remaining
|
||||
on the progress window, based on a patch by Jonas Berlin
|
||||
|
|
|
@ -1478,6 +1478,8 @@ gsg_set_sensitivity (GSGDialog * dialog, int sensitive)
|
|||
#ifdef SANE_CAP_ALWAYS_SETTABLE
|
||||
if (!(opt->cap & SANE_CAP_ALWAYS_SETTABLE))
|
||||
gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);
|
||||
#else
|
||||
gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue