Re: [Utopia] [patch] add support for digital cameras
- From: David Zeuthen <david fubar dk>
- To: rml ximian com
- Cc: utopia-list gnome org
- Subject: Re: [Utopia] [patch] add support for digital cameras
- Date: Thu, 26 Aug 2004 11:32:46 +0200
On Thu, 2004-08-26 at 03:55 +0200, David Zeuthen wrote:
> #!/bin/sh
> MOUNT_POINT=`hal-get-property --udi $1 --key block.device`
> if test "$MOUNT_POINT" == ""; then
> gthumb --import-photos
> else
> gthumb $MOUNT_POINT
> fi
Uhh, I shouldn't be writing patches so late in the night; this wrapper
#!/bin/sh
MOUNT_POINT=`hal-get-property --udi "$1" --key volume.mount_point`
if test "$MOUNT_POINT" == ""; then
gthumb --import-photos
else
gthumb $MOUNT_POINT
fi
works a lot better. Oh well :-)
Cheers,
David
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]