Re: Patch! Change Time(zone) function



Might be a good idea to create 1 dialog for setting the time of the
photo (when there's no EXIF) AND for changing the timezone.

A dialog for changing the timezone seems like a rarely used one, but
if we'll join it together with the main idea - messing with the time
of photo taken - it can become handy.

Hope you understood my point eventhough my English isn't very good.

Yo'av.

On 8/15/05, Bengt Thuree <bengt thuree com> wrote:
> Hej
> 
> The purpose for this small patch was for the case when you have been in
> another timezone with your camera or for whatever reason the timestamp is
> off within a day.
> 
> Yes, I can see there is a definit need for setting the date as well.
> 
> Perhaps also auto increment of X minutes between pictures?
> For scanned negatives or whatever with no EXIF tags.
> 
> By all means, please send me the bits of code you wrote and I will see if
> I can incorporate it into my small patch :)
> 
> /Bengt
> 
> p.s.
> And I am definitely not a coding expert anymore (12 years of support
> related work instead)....
> 
> <citat vem="derek vandivere net">
> > Bengt,
> >
> > Looks good - what would be handy for scanned in photos (i.e., with no EXIF
> > data) would be to set the date as well. I've got a piece of code working
> > for that (it's just manual entry of the date with no validation), as well
> > as working on multiple photos at once. There seems to be a mono calendar
> > widget, but I haven't messed around with that one yet.
> >
> > Let me know if you'd like to see the bits of code that I wrote - they're
> > fairly unspectacular, as I'm a project manager and thus not really allowed
> > to write code any more. (:
> >
> > Cheers,
> > Derek
> >
> >> Hej
> >>
> >> Here is the first release of the ChangePhotoTime routine.
> >>
> >> For a teaser, please check the GUI at
> >> www.thuree.com:8080/bt/testing/F-Spot_TimeZone.jpg
> >>
> >> Please test it and do come with suggestions for features/enhancements.
> >>
> >> Gnome HIG I am not sure I am following, neither proper translation
> >> standards.
> >> This is my second try at coding in Gnome and C# so bear with me please
> >> :)
> >>
> >> The command I used to create the diff files were as follows
> >>   diff -Naur ../f-spot-0.0.13.orig/src/Makefile src/Makefile >
> >> Makefile.diff
> >>   diff -Naur ../f-spot-0.0.13.orig/src/MainWindow.cs src/MainWindow.cs >
> >> MainWindow.cs.diff
> >>   diff -Naur ../f-spot-0.0.13.orig/src/PhotoStore.cs src/PhotoStore.cs >
> >> PhotoStore.cs.diff
> >>   diff -Naur ../f-spot-0.0.13.orig/src/f-spot.glade src/f-spot.glade >
> >> f-spot.glade.diff
> >>
> >>   and then I just copied the ChangePhotoTime.cs file
> >>
> >> The changes I introduced to PhotoStore consist of one new method
> >> (CommitTime (DbItem item))
> >> which updates only the time (thought it was uneccasary to call commit
> >> and
> >> modify tags and all).
> >>
> >> Good luck
> >>
> >> /Bengt
> >>
> >> p.s.
> >> I have based my modifications on F-Spot version 0.0.13
> >>
> >>
> >> -----
> >>
> >> A debug trace from one of my runs...
> >>
> >> nrjbeth brdhcp052-89:~/development/f-spot/f-spot-0.0.13.TimeZone$ f-spot
> >> Photo 20030426_Jasmine_ 006.jpg, Old time 23/04/2003 7:11:06 AM, New
> >> time
> >> 24/04/2003 7:10:06 AM
> >> Photo 20030819_Jasmine_ 009.jpg, Old time 16/08/2003 10:50:27 AM, New
> >> time
> >> 17/08/2003 10:49:27 AM
> >> Photo 20030822_Jasmine 002a.jpg, Old time 21/08/2003 4:36:45 AM, New
> >> time
> >> 22/08/2003 4:35:45 AM
> >> Photo 20040131_JadeJasmine_China_1.JPG, Old time 30/01/2004 2:29:05 AM,
> >> New time 31/01/2004 2:28:05 AM
> >> Photo 20040629 183759_Linköping_PrincessJasmine_004.JPG, Old time
> >> 28/06/2004 8:38:59 AM, New time 29/06/2004 8:37:59 AM
> >> Photo 20040717 125752_Loftahammar_AakesSummerHouse.JPG, Old time
> >> 16/07/2004 2:58:52 AM, New time 17/07/2004 2:57:52 AM
> >> Photo 20040723 142528_Stockholm_Skansen_Jasmine_Bengt_005.JPG, Old time
> >> 22/07/2004 4:26:28 AM, New time 23/07/2004 4:25:28 AM
> >> Photo 20040905181719_Yokohama_SushiTime_Jasmine_000.JPG, Old time
> >> 4/09/2004 8:18:19 AM, New time 5/09/2004 8:17:19 AM
> >> Photo 20041005130110_Mohnani_Jasmine_Bengt.JPG, Old time 4/10/2004
> >> 3:02:10
> >> AM, New time 5/10/2004 3:01:10 AM
> >>
> >>
> >>
> >>
> >> --
> >> Bengt Thuree   bengt thuree com
> >> www.thuree.com/bt_______________________________________________
> >> F-spot-list mailing list
> >> F-spot-list gnome org
> >> http://mail.gnome.org/mailman/listinfo/f-spot-list
> >>
> >
> >
> >
> >
> 
> 
> --
> Bengt Thuree   bengt thuree com    www.thuree.com/bt
> 
> _______________________________________________
> F-spot-list mailing list
> F-spot-list gnome org
> http://mail.gnome.org/mailman/listinfo/f-spot-list
>



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