[gnome-commander/Implement_CppCheck_suggestions] Add menu entries for selecting files with same extension
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/Implement_CppCheck_suggestions] Add menu entries for selecting files with same extension
- Date: Mon, 8 Apr 2019 19:56:21 +0000 (UTC)
commit 425e9ec021ec1b8014d6c7c6b3baa8b13652e44a
Author: Uwe Scholz <u scholz83 gmx de>
Date: Mon Apr 8 21:53:55 2019 +0200
Add menu entries for selecting files with same extension
src/gnome-cmd-main-menu.cc | 14 +++++++++++++-
src/gnome-cmd-user-actions.cc | 2 +-
2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-main-menu.cc b/src/gnome-cmd-main-menu.cc
index d7319186..21ad2c7b 100644
--- a/src/gnome-cmd-main-menu.cc
+++ b/src/gnome-cmd-main-menu.cc
@@ -1,4 +1,4 @@
-/**
+/**
* @file gnome-cmd-main-menu.cc
* @copyright (C) 2001-2006 Marcus Bjurman\n
* @copyright (C) 2007-2012 Piotr Eljasiak\n
@@ -500,6 +500,18 @@ static void init (GnomeCmdMainMenu *main_menu)
GNOME_APP_PIXMAP_NONE, NULL,
NULL
},
+ {
+ MENU_TYPE_ITEM, _("Select with same _Extension"), "", NULL,
+ (gpointer) mark_select_all_with_same_extension, NULL,
+ GNOME_APP_PIXMAP_NONE, NULL,
+ NULL
+ },
+ {
+ MENU_TYPE_ITEM, _("Unselect with same E_xtension"), "", NULL,
+ (gpointer) mark_unselect_all_with_same_extension, NULL,
+ GNOME_APP_PIXMAP_NONE, NULL,
+ NULL
+ },
{
MENU_TYPE_ITEM, _("_Invert Selection"), "*", NULL,
(gpointer) mark_invert_selection, NULL,
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index 49c646f7..224ea5f9 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -1,4 +1,4 @@
-/**
+/**
* @file gnome-cmd-user-actions.cc
* @copyright (C) 2001-2006 Marcus Bjurman\n
* @copyright (C) 2007-2012 Piotr Eljasiak\n
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]