<p>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.</p>
<ul>
<li>Copy filename to clipboard</li>
<li>Copy file path to clipboard</li>
<li>Copy file directory to clipboard</li>
</ul>
<p>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.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2550'>https://github.com/geany/geany/pull/2550</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add separator to right click context popup menu</li>
  <li>stub out 3 'To Clipboard' menu items</li>
  <li>Change signal handler names and descriptions for 'copy to clipboard' functions</li>
  <li>Implement handler function for on_copy_filename_to_clipboard_activate</li>
  <li>Change function to use real_path</li>
  <li>Implement signal handler function for on_copy_file_path_to_clipboard_activate</li>
  <li>Return simply the gchar pointer to real_path for function in previous commit</li>
  <li>Implement signal handler function for on_copy_file_dir_to_clipboard_activate</li>
  <li>Add missing length of -1 parameter in a few calls</li>
  <li>Stop forgetting we're no Python. We need semicolons for statement ends.</li>
  <li>Change GTK_STOCK icon to use GTK_STOCK_PASTE. (It's a visual representation of a clipboard)</li>
  <li>Convert spaces to tabs and strip trailing whitespace</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2550/files#diff-434c0827fb70a03463ce2dd66f2e7b9e">src/notebook.c</a>
    (55)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2550.patch'>https://github.com/geany/geany/pull/2550.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2550.diff'>https://github.com/geany/geany/pull/2550.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2550">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2ESN47JIAZFMWBWQDR4CIULANCNFSM4O6VNGHQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7ZWGXGDC3ACHA27XLR4CIULA5CNFSM4O6VNGH2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4J2PEVRA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2550",
"url": "https://github.com/geany/geany/pull/2550",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>