#169 Quick backup files with CTRL-C CTRL-V

closed
nobody
5
2013-02-09
2012-10-29
miven
No

I very often make quick backups of files by copying them to the current directory
and just adding a '~' (tilde) to the end of the filename.

If I try this with CTRL-C CTRL-V the resulting confirmation dialog does not have
the filename included after the current directory. This means I have to type the
entire filename manually and add a tilde at the end. This is a real pain when the
filename is complicated or long.

I was looking in FilePanel.cpp where most of this dialog action seems to take
place, and I think I see a way to make this possible without screwing anything
else up:

I believe it's FilePanel.cpp, line 1337:
operationdialogsingle->setText(target);

where target is identical to targetdir and does not include the filename.
But, if I tweak this line to go:
operationdialogsingle->setText(target+name);

I get the exact behavior I'm looking for:
->Select file->CTRL-C->CTRL-V->tap the tilde->tap ENTER
TA-DA! Brand new backup file. Lovely.

Discussion

  • Roland Baudin

    Roland Baudin - 2013-02-09

    This has benn done in Xfe 1.34.
    Thanks,
    RB

     
  • Roland Baudin

    Roland Baudin - 2013-02-09
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks