aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/memo-page.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-10-16 00:34:57 +0800
committerMilan Crha <mcrha@redhat.com>2009-10-16 00:34:57 +0800
commit971a53bec2bf2ced267f94d1799fa288e08e8c28 (patch)
tree24e30f3b65e2a67f48a724d9a73e30b17d824a98 /calendar/gui/dialogs/memo-page.c
parent25dd724999d551f2f59b06909cff7c660a3c3dab (diff)
downloadgsoc2013-evolution-971a53bec2bf2ced267f94d1799fa288e08e8c28.tar.gz
gsoc2013-evolution-971a53bec2bf2ced267f94d1799fa288e08e8c28.tar.zst
gsoc2013-evolution-971a53bec2bf2ced267f94d1799fa288e08e8c28.zip
Bug #562512 - Make hyperlinks clickable in Memos, Tasks and Calendar
Diffstat (limited to 'calendar/gui/dialogs/memo-page.c')
-rw-r--r--calendar/gui/dialogs/memo-page.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index 595a0e409e..6e51196a09 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -40,6 +40,7 @@
#include <libedataserverui/e-name-selector-entry.h>
#include <libedataserverui/e-name-selector-list.h>
#include <widgets/misc/e-dateedit.h>
+#include "misc/e-buffer-tagger.h"
#include "common/authentication.h"
#include "e-util/e-dialog-widgets.h"
@@ -124,6 +125,7 @@ clear_widgets (MemoPage *mpage)
view = GTK_TEXT_VIEW (mpage->priv->memo_content);
buffer = gtk_text_view_get_buffer (view);
gtk_text_buffer_set_text (buffer, "", 0);
+ e_buffer_tagger_update_tags (view);
/* Classification */
editor = comp_editor_page_get_editor (COMP_EDITOR_PAGE (mpage));
@@ -228,6 +230,7 @@ memo_page_fill_widgets (CompEditorPage *page,
"", 0);
}
e_cal_component_free_text_list (l);
+ e_buffer_tagger_update_tags (GTK_TEXT_VIEW (priv->memo_content));
/* Start Date. */
e_cal_component_get_dtstart (comp, &d);
@@ -969,6 +972,7 @@ init_widgets (MemoPage *mpage)
view = GTK_TEXT_VIEW (priv->memo_content);
buffer = gtk_text_view_get_buffer (view);
gtk_text_view_set_wrap_mode (view, GTK_WRAP_WORD);
+ e_buffer_tagger_connect (view);
/* Categories button */
g_signal_connect(