diff options
author | Gediminas Paulauskas <menesis@delfi.lt> | 2001-04-20 08:54:15 +0800 |
---|---|---|
committer | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-04-20 08:54:15 +0800 |
commit | 995e7b0612b6779818053d142b6cbfd6f1ff1b39 (patch) | |
tree | d94e329e6aceb5fb2b0dbe213e5d738b2aca31c8 | |
parent | 3cbd2b65e50b3ff6b5ed72df1a3a0667d0dff608 (diff) | |
download | gsoc2013-evolution-995e7b0612b6779818053d142b6cbfd6f1ff1b39.tar.gz gsoc2013-evolution-995e7b0612b6779818053d142b6cbfd6f1ff1b39.tar.zst gsoc2013-evolution-995e7b0612b6779818053d142b6cbfd6f1ff1b39.zip |
#if 0'd out my not-working selection code
2001-04-20 Gediminas Paulauskas <menesis@delfi.lt>
* mail-display.c: #if 0'd out my not-working selection code
svn path=/trunk/; revision=9464
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/mail-display.c | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 42c302cdd7..e1583f3e79 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2001-04-20 Gediminas Paulauskas <menesis@delfi.lt> + + * mail-display.c: #if 0'd out my not-working selection code + 2001-04-19 Dan Winship <danw@ximian.com> * mail-format.c (mail_format_raw_message): Make this more raw: diff --git a/mail/mail-display.c b/mail/mail-display.c index 266c46e1fc..d04893d86d 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -1058,6 +1058,7 @@ mail_display_class_init (GtkObjectClass *object_class) thumbnail_cache = g_hash_table_new (g_str_hash, g_str_equal); } +#if 0 static void on_selection_get (GtkWidget *widget, GtkSelectionData *selection_data, guint info, guint time_stamp, gpointer data) @@ -1070,6 +1071,7 @@ on_selection_get (GtkWidget *widget, GtkSelectionData *selection_data, GDK_SELECTION_TYPE_STRING, 8, text, strlen (text)); } +#endif static void link_open_in_browser (GtkWidget *w, MailDisplay *mail_display) @@ -1087,12 +1089,15 @@ link_save_as (GtkWidget *w, MailDisplay *mail_display) static void link_copy_location (GtkWidget *w, MailDisplay *mail_display) { + g_print ("FIXME\n"); +#if 0 gtk_object_set_data (GTK_OBJECT (mail_display->html), "selection", g_strdup (mail_display->html->pointer_url)); gtk_selection_owner_set (GTK_WIDGET (mail_display->html), GDK_SELECTION_PRIMARY, GDK_CURRENT_TIME); +#endif } #define SEPARATOR { "", NULL, (NULL), NULL, 0 } @@ -1265,11 +1270,13 @@ mail_display_new (void) GTK_SIGNAL_FUNC (html_enter_notify_event), mail_display); gtk_signal_connect (GTK_OBJECT (html), "iframe_created", GTK_SIGNAL_FUNC (html_iframe_created), mail_display); +#if 0 gtk_selection_add_target (GTK_WIDGET(html), GDK_SELECTION_PRIMARY, GDK_SELECTION_TYPE_STRING, 1); gtk_signal_connect (GTK_OBJECT (html), "selection_get", GTK_SIGNAL_FUNC (on_selection_get), NULL); +#endif gtk_container_add (GTK_CONTAINER (scroll), html); gtk_widget_show (GTK_WIDGET (html)); |