[Xfce4-commits] <xfce4-screenshooter:master> Make the right click copy menu work on links.
Jérôme Guelfucci
noreply at xfce.org
Sun Nov 8 14:38:01 CET 2009
Updating branch refs/heads/master
to 43b338fd44a25ba821a92db7d5f061079f73b932 (commit)
from 1ef8d39bd5df160bacaee48aded7e319de2d6a49 (commit)
commit 43b338fd44a25ba821a92db7d5f061079f73b932
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sun Nov 8 14:36:08 2009 +0100
Make the right click copy menu work on links.
The text was copied to the primary clipboard and was thus only
accessible via middle click.
lib/sexy-url-label.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/sexy-url-label.c b/lib/sexy-url-label.c
index 24a3bcc..9d8585e 100644
--- a/lib/sexy-url-label.c
+++ b/lib/sexy-url-label.c
@@ -494,7 +494,7 @@ copy_link_activate_cb(GtkMenuItem *menu_item, SexyUrlLabel *url_label)
return;
clipboard = gtk_widget_get_clipboard(GTK_WIDGET(url_label),
- GDK_SELECTION_PRIMARY);
+ GDK_SELECTION_CLIPBOARD);
gtk_clipboard_set_text(clipboard, priv->active_link->url,
strlen(priv->active_link->url));
More information about the Xfce4-commits
mailing list