aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2014-02-17 21:38:58 +0800
committerMilan Crha <mcrha@redhat.com>2014-02-17 21:38:58 +0800
commitd0b147ddb6bb33c1cdf3c8181394a5d4e6b08431 (patch)
treef9e5c9392b04bc48ea78a8a86aa9cb50cd7e23f8
parentad22aaac43b8652785d367a87c896439b3dd7cc9 (diff)
downloadgsoc2013-evolution-d0b147ddb6bb33c1cdf3c8181394a5d4e6b08431.tar
gsoc2013-evolution-d0b147ddb6bb33c1cdf3c8181394a5d4e6b08431.tar.gz
gsoc2013-evolution-d0b147ddb6bb33c1cdf3c8181394a5d4e6b08431.tar.bz2
gsoc2013-evolution-d0b147ddb6bb33c1cdf3c8181394a5d4e6b08431.tar.lz
gsoc2013-evolution-d0b147ddb6bb33c1cdf3c8181394a5d4e6b08431.tar.xz
gsoc2013-evolution-d0b147ddb6bb33c1cdf3c8181394a5d4e6b08431.tar.zst
gsoc2013-evolution-d0b147ddb6bb33c1cdf3c8181394a5d4e6b08431.zip
Add shortcuts previously defined by gtk-stock item definitions
-rw-r--r--addressbook/gui/widgets/eab-contact-display.c2
-rw-r--r--calendar/gui/dialogs/comp-editor.c12
-rw-r--r--e-util/e-web-view-gtkhtml.c8
-rw-r--r--e-util/e-web-view.c8
-rw-r--r--mail/e-mail-browser.c8
-rw-r--r--modules/addressbook/e-book-shell-view-actions.c2
-rw-r--r--modules/calendar/e-cal-shell-view-actions.c4
-rw-r--r--modules/calendar/e-cal-shell-view-memopad.c2
-rw-r--r--modules/calendar/e-cal-shell-view-taskpad.c2
-rw-r--r--modules/calendar/e-memo-shell-view-actions.c2
-rw-r--r--modules/calendar/e-task-shell-view-actions.c2
-rw-r--r--shell/e-shell-window-actions.c14
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 529bb0b25c..f8de8a1003 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 7653b20d82..86c7993ea2 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 5cc95a377c..b958f62105 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 739e1cc987..b00c71946a 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 580d89742d..549892b2ca 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 22efb4520c..491bb19b8b 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 1dd1b332e9..62a5dc2459 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 c7917eaf43..35bbec9a07 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 6b881bb39b..b06f2cda30 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 251eb39c59..21a1b5b58a 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 b5e34797ca..c32612d83f 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 fcf1e07a74..fee855918d 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 },