[Github-comments] [geany/geany] Context menu update (#2550)
Ru Uba
notifications at xxxxx
Fri Jul 17 18:17:41 UTC 2020
This patch adds to the context menu that pops up when the user issues a right-click on the Notebook tab a few additional actions.
- Copy filename to clipboard
- Copy file path to clipboard
- Copy file directory to clipboard
This is a feature that already exists in Notepad++ (and I think Atom) and often times when using Geany I miss it. The closest thing I am able to replicate currently in Geany 1.36 (Poliff) is to going to File -> Properties and manually dragging and highlighting the selections. Of course I use a laptop 99.9% with no trackpad (only a trackpoint) of the time so it's not only far too much mouse movement but inaccurate.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2550
-- Commit Summary --
* Add separator to right click context popup menu
* stub out 3 'To Clipboard' menu items
* Change signal handler names and descriptions for 'copy to clipboard' functions
* Implement handler function for on_copy_filename_to_clipboard_activate
* Change function to use real_path
* Implement signal handler function for on_copy_file_path_to_clipboard_activate
* Return simply the gchar pointer to real_path for function in previous commit
* Implement signal handler function for on_copy_file_dir_to_clipboard_activate
* Add missing length of -1 parameter in a few calls
* Stop forgetting we're no Python. We need semicolons for statement ends.
* Change GTK_STOCK icon to use GTK_STOCK_PASTE. (It's a visual representation of a clipboard)
* Convert spaces to tabs and strip trailing whitespace
-- File Changes --
M src/notebook.c (55)
-- Patch Links --
https://github.com/geany/geany/pull/2550.patch
https://github.com/geany/geany/pull/2550.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2550
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200717/180f80af/attachment.htm>
More information about the Github-comments
mailing list