From 16a7d16629ccef6ba18eded18a2078c9bef230fd Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 22 Sep 2003 19:51:25 +0000 Subject: removed, moved to em-folder-view, for now, it has access to an invisible. 2003-09-22 Not Zed * em-popup.c (emp_uri_popup_link_copy): removed, moved to em-folder-view, for now, it has access to an invisible. * em-folder-view.c (emfv_setting_notify): honour the load_http setting, at least the all setting. (emfv_format_popup_event): setup the popup menu item for copy link location here. svn path=/trunk/; revision=22652 --- mail/em-popup.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'mail/em-popup.c') diff --git a/mail/em-popup.c b/mail/em-popup.c index a7d8a90179..69fd1d0b6d 100644 --- a/mail/em-popup.c +++ b/mail/em-popup.c @@ -658,18 +658,6 @@ emp_uri_popup_link_open(GtkWidget *w, EMPopupTarget *t) } } -static void -emp_uri_popup_link_copy(GtkWidget *w, EMPopupTarget *t) -{ -#if 0 - g_free(p->selection_uri); - p->selection_uri = g_strdup(t->data.uri); - - gtk_selection_owner_set(p->invisible, GDK_SELECTION_PRIMARY, gtk_get_current_event_time()); - gtk_selection_owner_set(p->invisible, GDK_SELECTION_CLIPBOARD, gtk_get_current_event_time()); -#endif -} - static void emp_uri_popup_address_send(GtkWidget *w, EMPopupTarget *t) { @@ -684,7 +672,6 @@ emp_uri_popup_address_add(GtkWidget *w, EMPopupTarget *t) static EMPopupItem emp_standard_uri_popups[] = { { EM_POPUP_ITEM, "00.uri.00", N_("_Open Link in Browser"), G_CALLBACK(emp_uri_popup_link_open), NULL, NULL, EM_POPUP_URI_NOT_MAILTO }, - { EM_POPUP_ITEM, "00.uri.01", N_("_Copy Link Location"), G_CALLBACK(emp_uri_popup_link_copy), NULL, NULL, EM_POPUP_URI_NOT_MAILTO }, { EM_POPUP_ITEM, "00.uri.10", N_("Se_nd message to..."), G_CALLBACK(emp_uri_popup_address_send), NULL, NULL, EM_POPUP_URI_MAILTO }, { EM_POPUP_ITEM, "00.uri.20", N_("_Add to Addressbook"), G_CALLBACK(emp_uri_popup_address_add), NULL, NULL, EM_POPUP_URI_MAILTO }, }; -- cgit v1.2.3