aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/options.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-07-04 14:44:43 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-07-04 14:44:43 +0000
commitf5bef8a0ed6beb23e81dec5be1a5ee240eb4687f (patch)
treebf406da3f12976b01481623514b9338f90a2930b /src/bin/options.c
parentadd to READMe and... add logic to find urls under the mouse. also (diff)
downloadterminology-f5bef8a0ed6beb23e81dec5be1a5ee240eb4687f.tar.gz
incoming sexiness... links, file paths, email addresses found in text
on mousover. highlight with a subtley animated underline and on click.. do something sensible. the inline handler is the sexiest of all. try local file pahts for now (full paths). as they work best. remote urls for video files SHOULd work if they have http:// etc. before them - no adjusting of loose ones. u may want to look at the helpers config panel. internal handling of remote urls for media doesnt download currently. still needs to be done. anyway. enjoy! SVN revision: 73288
Diffstat (limited to 'src/bin/options.c')
-rw-r--r--src/bin/options.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bin/options.c b/src/bin/options.c
index 6733266..c58bdec 100644
--- a/src/bin/options.c
+++ b/src/bin/options.c
@@ -3,6 +3,7 @@
#include <Elementary.h>
#include "options.h"
#include "options_font.h"
+#include "options_helpers.h"
#include "options_behavior.h"
#include "options_video.h"
#include "options_theme.h"
@@ -56,6 +57,13 @@ _cb_op_behavior(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
}
static void
+_cb_op_helpers(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
+{
+ elm_box_clear(op_opbox);
+ options_helpers(op_opbox, data);
+}
+
+static void
_cb_op_tmp_chg(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
Config *config = data;
@@ -136,6 +144,8 @@ options_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term)
"Video", _cb_op_video, term);
elm_toolbar_item_append(o, "system-run",
"Behavior", _cb_op_behavior, term);
+ elm_toolbar_item_append(o, "document-open",
+ "Helpers", _cb_op_helpers, term);
elm_box_pack_end(op_tbox, o);
evas_object_show(o);