fmoralesc / pastie

a simple *nix clipboard manager with application-indicator support
47 stars 7 forks source link

The file name should be displayed first, then the path #11

Closed hotice closed 14 years ago

hotice commented 14 years ago

When you copy a file, Pastie displays the path to the file. For long paths, this is useless as you don't know what file that actually is.

The file name should be displayed first, and then in the brackets the path should be displayed (or something like that).

Screenshot: http://lh3.ggpht.com/_1QSDkzYY2vc/TEtBHf5--DI/AAAAAAAABlA/eXQh1F1BuXs/pastie.png

fmoralesc commented 14 years ago

I see. This is certainly something that must be taken care of.

fmoralesc commented 14 years ago

The hard part of this is to shorten the paths so it doesn't take too much space. I've converted the labels to this so far: proc 1

I think it should at least look better if the file list was instead something like: [ first file & x more @ path ] So, the ones in my example would be like: [ 4 Piano Fights.mpg & 1 more @ ~/M/65 Days Of...yway/ ]

hotice commented 14 years ago

For a single file, can't you place the filename and then the path? Like this:

myfile.png [file: /home/andrei/Desktop/myfile.png]

fmoralesc commented 14 years ago

Sure. With the procedure I'm testing, that would be:

[ myfile.png @ ~/Desktop/ ]

fmoralesc commented 14 years ago

What do you think of this?

proc 2

hotice commented 14 years ago

Almost perfect. One thing: it's not easy to make the difference between a file and text when you quickly take a look in Pastie. I think there should be something in the beginning of the row to show the difference. Is it possible to add a small icon in the beginning of the rows for copied files (only for the files and not for the text)?

If not, your last screenshot is probably the best way to do it so I'd say: go for it! :)

fmoralesc commented 14 years ago

What about this...?

proc 3

(I also added a glyph to image entries)

hotice commented 14 years ago

Beautiful! A definitely yes! :D

fmoralesc commented 14 years ago

:) OK, I'm closing this issue.