[evolution] Add shortcuts previously defined by gtk-stock item definitions



commit d0b147ddb6bb33c1cdf3c8181394a5d4e6b08431
Author: Milan Crha <mcrha redhat com>
Date:   Mon Feb 17 14:38:58 2014 +0100

    Add shortcuts previously defined by gtk-stock item definitions

 addressbook/gui/widgets/eab-contact-display.c   |    2 +-
 calendar/gui/dialogs/comp-editor.c              |   12 ++++++------
 e-util/e-web-view-gtkhtml.c                     |    8 ++++----
 e-util/e-web-view.c                             |    8 ++++----
 mail/e-mail-browser.c                           |    8 ++++----
 modules/addressbook/e-book-shell-view-actions.c |    2 +-
 modules/calendar/e-cal-shell-view-actions.c     |    4 ++--
 modules/calendar/e-cal-shell-view-memopad.c     |    2 +-
 modules/calendar/e-cal-shell-view-taskpad.c     |    2 +-
 modules/calendar/e-memo-shell-view-actions.c    |    2 +-
 modules/calendar/e-task-shell-view-actions.c    |    2 +-
 shell/e-shell-window-actions.c                  |   14 +++++++-------
 12 files changed, 33 insertions(+), 33 deletions(-)
---
diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c
index 529bb0b..f8de8a1 100644
--- a/addressbook/gui/widgets/eab-contact-display.c
+++ b/addressbook/gui/widgets/eab-contact-display.c
@@ -147,7 +147,7 @@ static GtkActionEntry internal_mailto_entries[] = {
        { "contact-mailto-copy",
          "edit-copy",
          N_("Copy _Email Address"),
-         NULL,
+         "<Control>c",
          N_("Copy the email address to the clipboard"),
          G_CALLBACK (action_contact_mailto_copy_cb) },
 
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 7653b20..86c7993 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -1220,21 +1220,21 @@ static GtkActionEntry core_entries[] = {
        { "close",
          "window-close",
          N_("_Close"),
-         NULL,
+         "<Control>w",
          N_("Close the current window"),
          G_CALLBACK (action_close_cb) },
 
        { "copy-clipboard",
          "edit-copy",
          N_("_Copy"),
-         NULL,
+         "<Control>c",
          N_("Copy the selection"),
          NULL },  /* Handled by EFocusTracker */
 
        { "cut-clipboard",
          "edit-cut",
          N_("Cu_t"),
-         NULL,
+         "<Control>x",
          N_("Cut the selection"),
          NULL },  /* Handled by EFocusTracker */
 
@@ -1248,14 +1248,14 @@ static GtkActionEntry core_entries[] = {
        { "help",
          "help-browser",
          N_("_Help"),
-         NULL,
+         "F1",
          N_("View help"),
          G_CALLBACK (action_help_cb) },
 
        { "paste-clipboard",
          "edit-paste",
          N_("_Paste"),
-         NULL,
+         "<Control>v",
          N_("Paste the clipboard"),
          NULL },  /* Handled by EFocusTracker */
 
@@ -1276,7 +1276,7 @@ static GtkActionEntry core_entries[] = {
        { "save",
          "document-save",
          N_("_Save"),
-         NULL,
+         "<Control>s",
          N_("Save current changes"),
          G_CALLBACK (action_save_cb) },
 
diff --git a/e-util/e-web-view-gtkhtml.c b/e-util/e-web-view-gtkhtml.c
index 5cc95a3..b958f62 100644
--- a/e-util/e-web-view-gtkhtml.c
+++ b/e-util/e-web-view-gtkhtml.c
@@ -403,7 +403,7 @@ static GtkActionEntry uri_entries[] = {
        { "uri-copy",
          "edit-copy",
          N_("_Copy Link Location"),
-         NULL,
+         "<Control>c",
          N_("Copy the link to the clipboard"),
          G_CALLBACK (action_uri_copy_cb) }
 };
@@ -423,7 +423,7 @@ static GtkActionEntry mailto_entries[] = {
        { "mailto-copy",
          "edit-copy",
          N_("_Copy Email Address"),
-         NULL,
+         "<Control>c",
          N_("Copy the email address to the clipboard"),
          G_CALLBACK (action_mailto_copy_cb) },
 
@@ -440,7 +440,7 @@ static GtkActionEntry image_entries[] = {
        { "image-copy",
          "edit-copy",
          N_("_Copy Image"),
-         NULL,
+         "<Control>c",
          N_("Copy the image to the clipboard"),
          G_CALLBACK (action_image_copy_cb) }
 };
@@ -450,7 +450,7 @@ static GtkActionEntry selection_entries[] = {
        { "copy-clipboard",
          "edit-copy",
          NULL,
-         NULL,
+         "<Control>c",
          N_("Copy the selection"),
          G_CALLBACK (action_copy_clipboard_cb) },
 };
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index 739e1cc..b00c719 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -280,7 +280,7 @@ static GtkActionEntry uri_entries[] = {
        { "uri-copy",
          "edit-copy",
          N_("_Copy Link Location"),
-         NULL,
+         "<Control>c",
          N_("Copy the link to the clipboard"),
          G_CALLBACK (action_uri_copy_cb) }
 };
@@ -300,7 +300,7 @@ static GtkActionEntry mailto_entries[] = {
        { "mailto-copy",
          "edit-copy",
          N_("_Copy Email Address"),
-         NULL,
+         "<Control>c",
          N_("Copy the email address to the clipboard"),
          G_CALLBACK (action_mailto_copy_cb) },
 
@@ -317,7 +317,7 @@ static GtkActionEntry image_entries[] = {
        { "image-copy",
          "edit-copy",
          N_("_Copy Image"),
-         NULL,
+         "<Control>c",
          N_("Copy the image to the clipboard"),
          G_CALLBACK (action_image_copy_cb) },
 
@@ -334,7 +334,7 @@ static GtkActionEntry selection_entries[] = {
        { "copy-clipboard",
          "edit-copy",
          NULL,
-         NULL,
+         "<Control>c",
          N_("Copy the selection"),
          G_CALLBACK (action_copy_clipboard_cb) },
 };
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c
index 580d897..549892b 100644
--- a/mail/e-mail-browser.c
+++ b/mail/e-mail-browser.c
@@ -124,28 +124,28 @@ static GtkActionEntry mail_browser_entries[] = {
        { "close",
          "window-close",
          N_("_Close"),
-         NULL,
+         "<Control>w",
          N_("Close this window"),
          G_CALLBACK (action_close_cb) },
 
        { "copy-clipboard",
          "edit-copy",
          N_("_Copy"),
-         NULL,
+         "<Control>c",
          N_("Copy the selection"),
          NULL },  /* Handled by EFocusTracker */
 
        { "cut-clipboard",
          "edit-cut",
          N_("Cu_t"),
-         NULL,
+         "<Control>x",
          N_("Cut the selection"),
          NULL },  /* Handled by EFocusTracker */
 
        { "paste-clipboard",
          "edit-paste",
          N_("_Paste"),
-         NULL,
+         "<Control>v",
          N_("Paste the clipboard"),
          NULL },  /* Handled by EFocusTracker */
 
diff --git a/modules/addressbook/e-book-shell-view-actions.c b/modules/addressbook/e-book-shell-view-actions.c
index 22efb45..491bb19 100644
--- a/modules/addressbook/e-book-shell-view-actions.c
+++ b/modules/addressbook/e-book-shell-view-actions.c
@@ -876,7 +876,7 @@ static GtkActionEntry contact_entries[] = {
        { "address-book-copy",
          "edit-copy",
          N_("Co_py All Contacts To..."),
-         NULL,
+         "<Control>c",
          N_("Copy the contacts of the selected address book to another"),
          G_CALLBACK (action_address_book_copy_cb) },
 
diff --git a/modules/calendar/e-cal-shell-view-actions.c b/modules/calendar/e-cal-shell-view-actions.c
index 1dd1b33..62a5dc2 100644
--- a/modules/calendar/e-cal-shell-view-actions.c
+++ b/modules/calendar/e-cal-shell-view-actions.c
@@ -1348,7 +1348,7 @@ static GtkActionEntry calendar_entries[] = {
        { "calendar-copy",
          "edit-copy",
          N_("_Copy..."),
-         NULL,
+         "<Control>c",
          NULL,  /* XXX Add a tooltip! */
          G_CALLBACK (action_calendar_copy_cb) },
 
@@ -1565,7 +1565,7 @@ static GtkActionEntry calendar_entries[] = {
        { "quit-calendar",
          "window-close",
          N_("Quit"),
-         NULL,
+         "<Control>w",
          NULL,  /* XXX Add a tooltip! */
          G_CALLBACK (quit_calendar_cb) },
 
diff --git a/modules/calendar/e-cal-shell-view-memopad.c b/modules/calendar/e-cal-shell-view-memopad.c
index c7917ea..35bbec9 100644
--- a/modules/calendar/e-cal-shell-view-memopad.c
+++ b/modules/calendar/e-cal-shell-view-memopad.c
@@ -276,7 +276,7 @@ static GtkActionEntry calendar_memopad_entries[] = {
        { "calendar-memopad-open",
          "document-open",
          N_("_Open Memo"),
-         NULL,
+         "<Control>o",
          N_("View the selected memo"),
          G_CALLBACK (action_calendar_memopad_open_cb) },
 
diff --git a/modules/calendar/e-cal-shell-view-taskpad.c b/modules/calendar/e-cal-shell-view-taskpad.c
index 6b881bb..b06f2cd 100644
--- a/modules/calendar/e-cal-shell-view-taskpad.c
+++ b/modules/calendar/e-cal-shell-view-taskpad.c
@@ -363,7 +363,7 @@ static GtkActionEntry calendar_taskpad_entries[] = {
        { "calendar-taskpad-open",
          "document-open",
          N_("_Open Task"),
-         NULL,
+         "<Control>o",
          N_("View the selected task"),
          G_CALLBACK (action_calendar_taskpad_open_cb) },
 
diff --git a/modules/calendar/e-memo-shell-view-actions.c b/modules/calendar/e-memo-shell-view-actions.c
index 251eb39..21a1b5b 100644
--- a/modules/calendar/e-memo-shell-view-actions.c
+++ b/modules/calendar/e-memo-shell-view-actions.c
@@ -605,7 +605,7 @@ static GtkActionEntry memo_entries[] = {
        { "memo-list-copy",
          "edit-copy",
          N_("_Copy..."),
-         NULL,
+         "<Control>c",
          NULL,  /* XXX Add a tooltip! */
          G_CALLBACK (action_memo_list_copy_cb) },
 
diff --git a/modules/calendar/e-task-shell-view-actions.c b/modules/calendar/e-task-shell-view-actions.c
index b5e3479..c32612d 100644
--- a/modules/calendar/e-task-shell-view-actions.c
+++ b/modules/calendar/e-task-shell-view-actions.c
@@ -729,7 +729,7 @@ static GtkActionEntry task_entries[] = {
        { "task-list-copy",
          "edit-copy",
          N_("Copy..."),
-         NULL,
+         "<Control>c",
          NULL,  /* XXX Add a tooltip! */
          G_CALLBACK (action_task_list_copy_cb) },
 
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index fcf1e07..fee8559 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -883,14 +883,14 @@ static GtkActionEntry shell_entries[] = {
        { "copy-clipboard",
          "edit-copy",
          N_("_Copy"),
-         NULL,
+         "<Control>c",
          N_("Copy the selection"),
          NULL },  /* Handled by EFocusTracker */
 
        { "cut-clipboard",
          "edit-cut",
          N_("Cu_t"),
-         NULL,
+         "<Control>x",
          N_("Cut the selection"),
          NULL },  /* Handled by EFocusTracker */
 
@@ -918,7 +918,7 @@ static GtkActionEntry shell_entries[] = {
        { "paste-clipboard",
          "edit-paste",
          N_("_Paste"),
-         NULL,
+         "<Control>v",
          N_("Paste the clipboard"),
          NULL },  /* Handled by EFocusTracker */
 
@@ -946,7 +946,7 @@ static GtkActionEntry shell_entries[] = {
        { "quit",
          "application-exit",
          N_("_Quit"),
-         NULL,
+         "<Control>q",
          N_("Exit the program"),
          G_CALLBACK (action_quit_cb) },
 
@@ -974,14 +974,14 @@ static GtkActionEntry shell_entries[] = {
        { "search-options",
          "edit-find",
          N_("_Find"),
-         NULL,
+         "<Control>f",
          N_("Click here to change the search type"),
          G_CALLBACK (action_search_options_cb) },
 
        { "search-quick",
          "edit-find",
          N_("_Find Now"),
-         "",      /* Block the default Ctrl+F. */
+         NULL,
          N_("Execute the current search parameters"),
          G_CALLBACK (action_search_quick_cb) },
 
@@ -1053,7 +1053,7 @@ static GtkActionEntry shell_entries[] = {
        { "new-menu",
          "document-new",
          N_("_New"),
-         "",
+         NULL,
          NULL,
          NULL },
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]