[evolution/gnome-2-30] Bug 604262 - "Copy Email Address" should also copy to primary clipboard
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-2-30] Bug 604262 - "Copy Email Address" should also copy to primary clipboard
- Date: Thu, 24 Jun 2010 12:45:35 +0000 (UTC)
commit f219d4b1b2feb737a8fe28ceadcb4c01f4b215fc
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jun 24 08:44:00 2010 -0400
Bug 604262 - "Copy Email Address" should also copy to primary clipboard
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 e9fc71d..01715ca 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]