[gnome-commander/gcmd-1-2-8] Fixed problem #620275 (add menu item to copy full path and file name to clipboard)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-2-8] Fixed problem #620275 (add menu item to copy full path and file name to clipboard)
- Date: Sun, 2 Jan 2011 22:38:58 +0000 (UTC)
commit 0beec683e814218dcd8eac69dee73928fed8bd58
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Jan 2 23:37:04 2011 +0100
Fixed problem #620275 (add menu item to copy full path and file name to clipboard)
NEWS | 1 +
doc/C/gnome-commander.xml | 3 +++
src/gnome-cmd-file-popmenu.cc | 3 +++
3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 4f141a4..510a15c 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ gnome-commander 1.2.8.10
Bug fixes:
* Fixed problem #448941 (numeric keypad arrows don't work in the main window)
+ * Fixed problem #620275 (add menu item to copy full path and file name to clipboard)
* Fixed problem #637501 (advrename: metatag popup menu shows wrong items)
* Fixed problem with toggling path/basename/filename selections in copy/move dialogs
* Updated translations: de
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 10cac79..31eb024 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6071,6 +6071,9 @@
<para>Fixed problem #448941 (numeric keypad arrows don't work in the main window)</para>
</listitem>
<listitem>
+ <para>Fixed problem #620275 (add menu item to copy full path and file name to clipboard)</para>
+ </listitem>
+ <listitem>
<para>Fixed problem #637501 (advrename: metatag popup menu shows wrong items)</para>
</listitem>
<listitem>
diff --git a/src/gnome-cmd-file-popmenu.cc b/src/gnome-cmd-file-popmenu.cc
index 411a8c3..13bcedd 100644
--- a/src/gnome-cmd-file-popmenu.cc
+++ b/src/gnome-cmd-file-popmenu.cc
@@ -34,6 +34,8 @@
#include <fnmatch.h>
+#include "../pixmaps/copy_file_names.xpm"
+
using namespace std;
@@ -451,6 +453,7 @@ GtkWidget *gnome_cmd_file_popmenu_new (GnomeCmdFileList *fl)
{
GNOMEUIINFO_ITEM_STOCK(N_("Cu_t"), NULL, on_cut, GTK_STOCK_CUT),
GNOMEUIINFO_ITEM_STOCK(N_("_Copy"), NULL, on_copy, GTK_STOCK_COPY),
+ GNOMEUIINFO_ITEM(N_("Copy file names"), NULL, edit_copy_fnames, copy_file_names_xpm),
GNOMEUIINFO_ITEM_STOCK(N_("_Delete"), NULL, on_delete, GNOME_STOCK_TRASH),
GNOMEUIINFO_SEPARATOR,
GNOMEUIINFO_ITEM_NONE (N_("Rename"), NULL, on_rename),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]