Re: Can I get Gwenview 2 to act a bit more like Gwenview 1?

Aurélien Gâteau <[email protected]> Thu, 29 Jan 2009 08:54:01 +0100
Newsgroups gmane.comp.kde.gwenview
Message-ID <[email protected]>
Steven Karp wrote:
> On Tuesday 27 January 2009 at 11:47 pm, Aurélien Gâteau wrote:
> 
>  > Yes. I would like to implement something similar to iPhoto and Aperture:
> 
>  > when you select multiple images in the thumbnail bar, they all get
> 
>  > displayed in the main area (maybe I will have to set some limit on the
> 
>  > number of images displayed at the same time, though) allowing for easy
> 
>  > comparisons.
> 
> That sounds cool and useful. But yeah, some kind of limit would be a 
> GoodThing(tm) and long as it's a limit on multiple images displayed and 
> not on multiple images selected. Perhaps you could do it as a function 
> of screen size (i.e. as the screen gets larger, so does the maximum 
> number of images displayed)?

Yes, the limit would only be on the displayed images, not the selected 
images.

>  > This should not require developer skills, you need to:
> 
>  > - Create a new .desktop file in gwenview/app/ dir (getting inspired by
> 
>  > slideshow.desktop)
> 
>  > - Declare your .desktop file in gwenview/app/CMakeLists.txt.
> 
> Requires enough skills to know where to look! <laughter>

Hehe, true, but it seems you found it eventually :)
Thanks!

> OK, here's what I came up with. gwenbrowse.desktop is attached. Add to 
> CMakeLists.txt the following:
> 
> install(FILES gwenbrowse.desktop
> 
> DESTINATION ${SERVICES_INSTALL_DIR}/ServiceMenus )
> 
> Or can you list multiple files on the "install(" line? In which case I 
> guess it would just be a matter of changing
> 
> install(FILES slideshow.desktop
> 
> to
> 
> install(FILES slideshow.desktop gwenbrowse.desktop

Yes, one can list multiple files in one "install(FILES)" command.

> It doesn't address translation, I realize. How does one deal with that 
> if one doesn't read a couple of dozen languages? As I said, I'm not a 
> developer-type being, so I'm pretty clueless about how the bits all fit 
> together.

That's the magic of the KDE translation system: just create your 
.desktop file in english and a nice script running on KDE servers will 
notice it, extract the text to translate for translators and reinject it 
back when it's translated.

>  > Same thing, this is a Qt issue :(.
> 
> <pout> again. Any chance you could push *that* upstream too?

Hum... I do not have more power than you with regard to Qt... you can 
report the issue here:

http://www.qtsoftware.com/developer/task-tracker

Aurélien

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword