[gnome-commander/gcmd-1-10] Use define statements for terminal and copy file names
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-10] Use define statements for terminal and copy file names
- Date: Wed, 20 May 2020 12:13:23 +0000 (UTC)
commit dc96cd1f6c4f7fe2d7eebff96379946704c1ed99
Author: Uwe Scholz <u scholz83 gmx de>
Date: Wed May 20 12:57:04 2020 +0200
Use define statements for terminal and copy file names
src/gnome-cmd-file-popmenu.cc | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/gnome-cmd-file-popmenu.cc b/src/gnome-cmd-file-popmenu.cc
index 71328a70..d61e3bd7 100644
--- a/src/gnome-cmd-file-popmenu.cc
+++ b/src/gnome-cmd-file-popmenu.cc
@@ -794,17 +794,17 @@ GtkType gnome_cmd_file_popmenu_get_type ()
static const GtkActionEntry entries[] =
{
{ "OpenWith", nullptr, _("Open Wit_h") },
- { "OtherApp", nullptr, _("Other _Application…"), nullptr, nullptr,
(GCallback) on_open_with_other },
- { "OpenWithOther", nullptr, _("Open Wit_h…"), nullptr, nullptr,
(GCallback) on_open_with_other },
- { "Cut", GTK_STOCK_CUT, _("Cut"), nullptr, nullptr,
(GCallback) edit_cap_cut },
- { "Copy", GTK_STOCK_COPY, _("Copy"), nullptr, nullptr,
(GCallback) edit_cap_copy },
- { "Delete", GTK_STOCK_DELETE, _("Delete"), nullptr, nullptr,
(GCallback) file_delete },
- { "Rename", GTK_STOCK_EDIT, _("Rename"), nullptr, nullptr,
(GCallback) on_rename },
- { "Send", MAILSEND_STOCKID, _("Send files"), nullptr, nullptr,
(GCallback) file_sendto },
- { "Properties", GTK_STOCK_PROPERTIES, _("_Properties…"), nullptr, nullptr,
(GCallback) on_properties },
- { "Execute", GTK_STOCK_EXECUTE, _("E_xecute"), nullptr, nullptr,
(GCallback) on_execute },
- { "Terminal", "gnome-commander-terminal", _("Open _terminal here"), nullptr, nullptr,
(GCallback) command_open_terminal__internal },
- { "CopyFileNames", "gnome-commander-copy-file-names", _("Copy file names"), nullptr, nullptr,
(GCallback) edit_copy_fnames },
+ { "OtherApp", nullptr, _("Other _Application…"), nullptr, nullptr, (GCallback)
on_open_with_other },
+ { "OpenWithOther", nullptr, _("Open Wit_h…"), nullptr, nullptr, (GCallback)
on_open_with_other },
+ { "Cut", GTK_STOCK_CUT, _("Cut"), nullptr, nullptr, (GCallback)
edit_cap_cut },
+ { "Copy", GTK_STOCK_COPY, _("Copy"), nullptr, nullptr, (GCallback)
edit_cap_copy },
+ { "Delete", GTK_STOCK_DELETE, _("Delete"), nullptr, nullptr, (GCallback)
file_delete },
+ { "Rename", GTK_STOCK_EDIT, _("Rename"), nullptr, nullptr, (GCallback)
on_rename },
+ { "Send", MAILSEND_STOCKID, _("Send files"), nullptr, nullptr, (GCallback)
file_sendto },
+ { "Properties", GTK_STOCK_PROPERTIES, _("_Properties…"), nullptr, nullptr, (GCallback)
on_properties },
+ { "Execute", GTK_STOCK_EXECUTE, _("E_xecute"), nullptr, nullptr, (GCallback)
on_execute },
+ { "Terminal", TERMINAL_STOCKID, _("Open _terminal here"), nullptr, nullptr, (GCallback)
command_open_terminal__internal },
+ { "CopyFileNames", COPYFILENAMES_STOCKID, _("Copy file names"), nullptr, nullptr, (GCallback)
edit_copy_fnames },
};
static const char *ui_description =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]