diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-06-24 20:44:00 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-06-24 20:44:00 +0800 |
commit | ef9b23ef998f8dd4e987c5e7443a36dd48e59b2e (patch) | |
tree | a1e6513e10361a842e551b77b36f9c059b1449fd | |
parent | f1bad7677ab2928638f8705873d7ab599b6c99cd (diff) | |
download | gsoc2013-evolution-ef9b23ef998f8dd4e987c5e7443a36dd48e59b2e.tar.gz gsoc2013-evolution-ef9b23ef998f8dd4e987c5e7443a36dd48e59b2e.tar.zst gsoc2013-evolution-ef9b23ef998f8dd4e987c5e7443a36dd48e59b2e.zip |
Bug 604262 - "Copy Email Address" should also copy to primary clipboard
-rw-r--r-- | widgets/misc/e-web-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c index 71eb1acd34..d489a7aa75 100644 --- a/widgets/misc/e-web-view.c +++ b/widgets/misc/e-web-view.c @@ -307,6 +307,10 @@ action_mailto_copy_cb (GtkAction *action, g_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); |