gnome-terminal r2910 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2910 - trunk/src
- Date: Tue, 17 Jun 2008 18:40:33 +0000 (UTC)
Author: chpe
Date: Tue Jun 17 18:40:33 2008
New Revision: 2910
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2910&view=rev
Log:
Fix the accels for Copy and Paste actions. Fixes bug #538809.
Modified:
trunk/src/terminal-window.c
Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c (original)
+++ trunk/src/terminal-window.c Tue Jun 17 18:40:33 2008
@@ -746,6 +746,7 @@
action = gtk_action_group_get_action (priv->action_group, "EditPaste");
gtk_action_set_sensitive (action, can_paste);
action = gtk_action_group_get_action (priv->action_group, "EditPasteURIPaths");
+ gtk_action_set_visible (action, can_paste_uris);
gtk_action_set_sensitive (action, can_paste_uris);
/* Ref was added in gtk_clipboard_request_targets below */
@@ -1254,10 +1255,10 @@
G_CALLBACK (file_close_window_callback) },
/* Edit menu */
- { "EditCopy", GTK_STOCK_COPY, NULL, NULL,
+ { "EditCopy", GTK_STOCK_COPY, NULL, "<shift><control>C",
NULL,
G_CALLBACK (edit_copy_callback) },
- { "EditPaste", GTK_STOCK_PASTE, NULL, NULL,
+ { "EditPaste", GTK_STOCK_PASTE, NULL, "<shift><control>V",
NULL,
G_CALLBACK (edit_paste_callback) },
{ "EditPasteURIPaths", GTK_STOCK_PASTE, N_("Paste _Filenames"), NULL,
@@ -1347,10 +1348,10 @@
NULL,
G_CALLBACK (popup_copy_url_callback) },
{ "PopupTerminalProfiles", NULL, N_("P_rofiles") },
- { "PopupCopy", GTK_STOCK_COPY, NULL, NULL,
+ { "PopupCopy", GTK_STOCK_COPY, NULL, "<shift><control>C",
NULL,
G_CALLBACK (edit_copy_callback) },
- { "PopupPaste", GTK_STOCK_PASTE, NULL, NULL,
+ { "PopupPaste", GTK_STOCK_PASTE, NULL, "<shift><control>V",
NULL,
G_CALLBACK (edit_paste_callback) },
{ "PopupPasteURIPaths", GTK_STOCK_PASTE, N_("Paste _Filenames"), NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]