Dne pondělí 11 srpen 2008 Michael Schwendt napsal(a): > Actually, after taking a first look in the debugger, it turnt out > it is > > geeqie --blank > > that crashes in layout_set_path(..) because "path" is NULL. > Option --blank is added when starting a new geeqie > for remote operation if no instance is running already. > My work-around for now is: > > diff -Nur geeqie-1.0alpha2-orig/src/main.c geeqie-1.0alpha2/src/main.c > --- geeqie-1.0alpha2-orig/src/main.c 2008-07-30 22:01:32.000000000 +0200 > +++ geeqie-1.0alpha2/src/main.c 2008-08-11 20:19:44.000000000 +0200 > @@ -840,7 +840,9 @@ > } > else > { > - layout_set_path(lw, path); > + if (path) { > + layout_set_path(lw, path); > + } > if (first_collection) > { > layout_image_set_collection(lw, first_collection, >
Yes, that fixes it. I just moved the test to layout_set_path where it used to be originally, see rev. 1054. > diff -Nur geeqie-1.0alpha2-orig/geeqie.desktop > geeqie-1.0alpha2/geeqie.desktop --- > geeqie-1.0alpha2-orig/geeqie.desktop 2008-07-30 22:01:52.000000000 +0200 > +++ geeqie-1.0alpha2/geeqie.desktop 2008-08-11 20:18:29.000000000 +0200 @@ > -9,7 +9,7 @@ > Comment=View and manage images > Comment[hu]=Képek megjelenítése és rendszerezése > Comment[es]=Visualiza y administra imágenes > -Exec=geeqie -r %F > +Exec=geeqie -r file:%F > Icon=geeqie > Type=Application > Terminal=false > This should not be needed, both versions work for me. Thanks, Vladimir ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel