Mercurial > geeqie
diff src/rcfile.c @ 497:a33badd85f16
Allow the copy of file paths to clipboard.
This feature is disabled by default, it can be set through
Preferences > Advanced > Behavior > Show "Copy path" ...
When enabled, it adds a menu entry "Copy path" that let the
user copies current selection's paths to X clipboard.
It is very convenient to paste paths to xterm for example.
Patch by Carles Pina i Estany and me.
| author | zas_ |
|---|---|
| date | Wed, 23 Apr 2008 22:17:21 +0000 |
| parents | 4a9570cd06f8 |
| children | b7e99bfeadc9 |
line wrap: on
line diff
--- a/src/rcfile.c Wed Apr 23 21:08:29 2008 +0000 +++ b/src/rcfile.c Wed Apr 23 22:17:21 2008 +0000 @@ -301,6 +301,7 @@ WRITE_SUBTITLE("General Options"); WRITE_BOOL(show_icon_names); + WRITE_BOOL(show_copy_path); WRITE_SEPARATOR(); WRITE_BOOL(tree_descend_subdirs); @@ -614,6 +615,7 @@ /* general options */ READ_BOOL(show_icon_names); + READ_BOOL(show_copy_path); READ_BOOL(tree_descend_subdirs); READ_BOOL(lazy_image_sync);
