aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2017-07-23 17:41:20 +0200
committerBoris Faure <billiob@gmail.com>2017-07-23 17:41:20 +0200
commitbbb72729102f113e30f3f12faa383f51d18b7bcc (patch)
tree7714d3b4f76e2e5003cdf8059e2c6b603fc1ca17
parentsizing: use 1px step when having visible tabs. (diff)
downloadterminology-bbb72729102f113e30f3f12faa383f51d18b7bcc.tar.gz
teamwork: remove the feature since it's no longer supported in elm
-rw-r--r--configure.ac20
-rw-r--r--src/bin/termio.c13
-rw-r--r--src/bin/win.c3
3 files changed, 0 insertions, 36 deletions
diff --git a/configure.ac b/configure.ac
index fb10bf0..7b104c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,26 +111,6 @@ AC_LINK_IFELSE(
AC_MSG_RESULT([no])
]
)
-AC_MSG_CHECKING([for elm_win_teamwork])
-AC_LINK_IFELSE(
- [
- AC_LANG_PROGRAM(
- [[
- #include <Elementary.h>
- ]],
- [[
- elm_win_teamwork_uri_show(NULL);
- ]])
- ],
- [
- AC_MSG_RESULT([yes])
- AC_DEFINE([HAVE_ELM_WIN_TEAMWORK], [1], [define to 1 if
- elm_win_teamwork_uri_show is available])
- ],
- [
- AC_MSG_RESULT([no])
- ]
-)
CFLAGS=$orig_cflags
EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 6e3d797..6c49100 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -1224,13 +1224,6 @@ _update_link(Evas_Object *obj, Termio *sd,
return;
popup_exists = main_term_popup_exists(sd->term);
- if ((!popup_exists) &&
- ((sd->link.string[0] == '/') || (link_is_url(sd->link.string))))
- {
-#ifdef HAVE_ELM_WIN_TEAMWORK
- elm_win_teamwork_uri_show(win_evas_object_get(term_win_get(sd->term)), sd->link.string);
-#endif
- }
for (y = sd->link.y1; y <= sd->link.y2; y++)
{
o = elm_layout_add(sd->win);
@@ -1287,9 +1280,6 @@ _remove_links(Termio *sd, Evas_Object *obj)
if (sd->link.string)
{
-#ifdef HAVE_ELM_WIN_TEAMWORK
- elm_win_teamwork_uri_hide(win_evas_object_get(term_win_get(sd->term)));
-#endif
free(sd->link.string);
sd->link.string = NULL;
}
@@ -4504,9 +4494,6 @@ _smart_cb_mouse_out(void *data,
if (sd->ctxpopup) return; /* ctxp triggers mouse out we should ignore */
termio_mouseover_suspend_pushpop(data, 1);
-#ifdef HAVE_ELM_WIN_TEAMWORK
- elm_win_teamwork_uri_hide(win_evas_object_get(term_win_get(sd->term)));
-#endif
if ((ev->canvas.x == 0) || (ev->canvas.y == 0))
{
sd->mouse.cx = -1;
diff --git a/src/bin/win.c b/src/bin/win.c
index 67ed42a..1dbc2e0 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -3305,9 +3305,6 @@ _popmedia_show(Term *term, const char *src, Media_Type type)
Config *config = termio_config_get(term->termio);
EINA_SAFETY_ON_NULL_RETURN(config);
-#ifdef HAVE_ELM_WIN_TEAMWORK
- elm_win_teamwork_uri_hide(term->wn->win);
-#endif
if (term->popmedia)
{
const char *s;