[gnome-commander] Fixed problem #620275 (add menu item to copy full path and file name to clipboard)



commit b8b8aafd37787802bb764d945480f3d3d981d5a9
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 dc0be94..e08546a 100644
--- a/NEWS
+++ b/NEWS
@@ -36,6 +36,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 f850f74..03f8de6 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -7615,6 +7615,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 7d79e63..7bf750a 100644
--- a/src/gnome-cmd-file-popmenu.cc
+++ b/src/gnome-cmd-file-popmenu.cc
@@ -35,6 +35,8 @@
 
 #include <fnmatch.h>
 
+#include "../pixmaps/copy_file_names.xpm"
+
 using namespace std;
 
 
@@ -452,6 +454,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]