aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-24 20:44:00 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-24 20:45:27 +0800
commitf219d4b1b2feb737a8fe28ceadcb4c01f4b215fc (patch)
treeec8e98431bf182e36a219dfd4276517dbfde693d
parentdd3ea7d670be1c1dcdf38816e7a4b1ba2bd52fca (diff)
downloadgsoc2013-evolution-f219d4b1b2feb737a8fe28ceadcb4c01f4b215fc.tar.gz
gsoc2013-evolution-f219d4b1b2feb737a8fe28ceadcb4c01f4b215fc.tar.zst
gsoc2013-evolution-f219d4b1b2feb737a8fe28ceadcb4c01f4b215fc.zip
Bug 604262 - "Copy Email Address" should also copy to primary clipboard
-rw-r--r--widgets/misc/e-web-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c
index e9fc71d7ca..01715caf09 100644
--- a/widgets/misc/e-web-view.c
+++ b/widgets/misc/e-web-view.c
@@ -296,6 +296,10 @@ action_mailto_copy_cb (GtkAction *action,
camel_object_unref (inet_addr);
camel_url_free (curl);
+ clipboard = gtk_clipboard_get (GDK_SELECTION_PRIMARY);
+ gtk_clipboard_set_text (clipboard, text, -1);
+ gtk_clipboard_store (clipboard);
+
clipboard = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD);
gtk_clipboard_set_text (clipboard, text, -1);
gtk_clipboard_store (clipboard);