Re: sub 60-second time adjustments



On Sat, 2009-11-07 at 17:19 -0500, Brian J. Murrell wrote:
> I don't seem to be able to make a sub-60-second time adjustment to a
> group of selected photos.
> 
> When I'm in the Adjust Time dialog, the time setting to the right of the
> Calendar pull-down has only per-minute granularity and even when I put a
> sub-60-second value into the "difference" field below that, the
> Action->Shift all photos by __:__:__ stays at 00:00:00.  I can only seem
> to get that field to change by whole minutes as well.

There is definitely some wierdness going on with that code. It appears
that the value of the Adjusted Date DateEdit widget is used directly in
calculating the offset amount. Adjusting the difference: amount updates
the value of the DateEntry, which then redraws itself without the
seconds, because it does not have the DISPLAY_SECONDS flag set.

At least, I think that's what's happening, based on my brief look at
AdjustTimeDialog.cs and the GnomeDateEdit widget documentation.

When I start playing with the source a little more I will try and see if
this can be fixed by having the Adjusted Date display seconds, although
I assume this is currently disabled for aesthetic reasons.

Perhaps the code could be modified to dynamically set DISPLAY_SECONDS,
if the user enters a time or offset with seconds?

I think I'm learning something. Scary.

Regards,


-- 
Steve McGrath
smcgrath23 gmail com

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]