Xarchiver: behaviour of switch -n for Thunar integration

jp.guillemin at free.fr jp.guillemin at free.fr
Mon Jun 26 14:27:20 CEST 2006


Selon Colossus <colossus73 at gmail.com>:

> Hi,
>
> I developed the switch -n this way:
>
> -n, --new=[archive name] [file1] [file2] ... [fileN]        Ask for
> the archive to be created, add files to it and quits.
>
> Someone have asked me to change it to:
> -n, --new [file1]  [file2] [fileN] ...
> Prompt for the archive name to create, and add files given in cmd line
> in this new archive.
>
>
> In the first case the user must supplies the archive name on the
> command line; the new dialog who will appear will have this name
> automatically entered in the 'Name' field of the GtkFileChooser.
>
> In the second case the user must supplies only the files to add on the
> command line; the archive name is entered in the New dialog who
> appears.
>
> My question are:
> 1) which behaviour is best for Thunar integration ?


The second one , of course. if the user selects 3 files in Thunar and click "add
to new archive" : Thunar can't guess what the name of new archive will be.

> 2) shall I change the behaviour of other switches always for Thunar
> integration ?

IMHO : NO :))

>
> Giuseppe
> --
> Colossus
> Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
> Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
> Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>





More information about the Xfce4-dev mailing list