aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-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/task-page.c
parent25dd724999d551f2f59b06909cff7c660a3c3dab (diff)
downloadgsoc2013-evolution-971a53bec2bf2ced267f94d1799fa288e08e8c28.tar
gsoc2013-evolution-971a53bec2bf2ced267f94d1799fa288e08e8c28.tar.gz
gsoc2013-evolution-971a53bec2bf2ced267f94d1799fa288e08e8c28.tar.bz2
gsoc2013-evolution-971a53bec2bf2ced267f94d1799fa288e08e8c28.tar.lz
gsoc2013-evolution-971a53bec2bf2ced267f94d1799fa288e08e8c28.tar.xz
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/task-page.c')
-rw-r--r--calendar/gui/dialogs/task-page.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c
index 2f0c258f3a..2b49192036 100644
--- a/calendar/gui/dialogs/task-page.c
+++ b/calendar/gui/dialogs/task-page.c
@@ -37,6 +37,7 @@
#include <libedataserverui/e-category-completion.h>
#include <libedataserverui/e-source-combo-box.h>
#include <misc/e-dateedit.h>
+#include "misc/e-buffer-tagger.h"
#include <e-util/e-dialog-utils.h>
#include "common/authentication.h"
#include "e-util/e-dialog-widgets.h"
@@ -263,6 +264,7 @@ clear_widgets (TaskPage *tpage)
/* Summary, description */
e_dialog_editable_set (priv->summary, NULL);
gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (priv->description)), "", 0);
+ e_buffer_tagger_update_tags (GTK_TEXT_VIEW (priv->description));
/* Start, due times */
e_date_edit_set_time (E_DATE_EDIT (priv->start_date), 0);
@@ -514,6 +516,7 @@ task_page_fill_widgets (CompEditorPage *page, ECalComponent *comp)
"", 0);
}
e_cal_component_free_text_list (l);
+ e_buffer_tagger_update_tags (GTK_TEXT_VIEW (priv->description));
default_zone = calendar_config_get_icaltimezone ();
@@ -1789,6 +1792,8 @@ init_widgets (TaskPage *tpage)
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (priv->description), GTK_WRAP_WORD);
+ e_buffer_tagger_connect (GTK_TEXT_VIEW (priv->description));
+
/* Dates */
g_signal_connect((priv->start_date), "changed",
G_CALLBACK (date_changed_cb), tpage);