On Tue, 2007-01-30 at 23:58 +0200, Steve Stavropoulos wrote:
> You may need both delays, so I think a second "wait" line not only
> makes for a fully functional plugin, but removes the ambiguity as to
> when the delay is applied. In
> http://master.math.upatras.gr/~steve/gimp/ you can find the patch that
> adds the second wait and the screenshot of the result (taken with the
> new screenshot plugin making use of both delays). The patch also
> corrects the tooltip of the first delay as it was referring to the
> "delay after select".
Nice. Thank you.
Do the two delays make sense for all three options? When you are doing a
screenshot of the full screen, one delay should be sufficient. If we go
for two spinbuttons as you suggest, the first spinbutton should probably
be set insensitive if full screen is selected. Another option would be
to change the lower part of the dialog according to the choice made in
the upper part. A GtkNotebook with hidden tabs is probably best suited
to implement this without causing the dialog to resize itself.
> PS. I know nothing about gtk, so the patch may be not very beautiful,
> but it works nicely.
You should be able to get away with a single "GtkWidget *spinnner"
variable. Also you probably want to set tooltips on both spinbuttons.
Gimp-developer mailing list