[evince/hildon-2-28] Remove accel definition where it was the same as the stock one
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evince/hildon-2-28] Remove accel definition where it was the same as the stock one
- Date: Mon, 26 Oct 2009 12:12:39 +0000 (UTC)
commit d636778cd692b5559df7c7d4eca797de1bbfe148
Author: Christian Persch <chpe gnome org>
Date: Sat Jun 6 20:50:34 2009 +0200
Remove accel definition where it was the same as the stock one
It's unnecessary to set an accel that's the same as the one from the gtk
stock.
shell/ev-window.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index d191190..7b73486 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -4979,7 +4979,7 @@ static const GtkActionEntry entries[] = {
{ "Help", NULL, N_("_Help") },
/* File menu */
- { "FileOpen", GTK_STOCK_OPEN, N_("_Open..."), "<control>O",
+ { "FileOpen", GTK_STOCK_OPEN, N_("_Open..."), NULL,
ACTION_TOOLTIP (N_("Open an existing document")),
G_CALLBACK (ev_window_cmd_file_open) },
{ "FileOpenCopy", NULL, N_("Op_en a Copy"), "<control>N",
@@ -5000,7 +5000,7 @@ static const GtkActionEntry entries[] = {
G_CALLBACK (ev_window_cmd_file_close_window) },
/* Edit menu */
- { "EditCopy", GTK_STOCK_COPY, NULL, "<control>C", NULL,
+ { "EditCopy", GTK_STOCK_COPY, NULL, NULL, NULL,
G_CALLBACK (ev_window_cmd_edit_copy) },
{ "EditSelectAll", GTK_STOCK_SELECT_ALL, N_("Select _All"), "<control>A", NULL,
G_CALLBACK (ev_window_cmd_edit_select_all) },
@@ -5062,7 +5062,7 @@ static const GtkActionEntry entries[] = {
G_CALLBACK (ev_window_cmd_start_presentation) },
/* Accellerators */
- { "Escape", NULL, "", "Escape", "",
+ { "Escape", NULL, "", "Escape", NULL,
G_CALLBACK (ev_window_cmd_escape) },
{ "Slash", GTK_STOCK_FIND, NULL, "slash", NULL,
G_CALLBACK (ev_window_cmd_edit_find) },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]