aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/options.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-09-14 22:54:31 +0200
committerBoris Faure <billiob@gmail.com>2014-09-14 23:18:55 +0200
commitf8429209bbe84a1b6c35e1d9a11f0e780597900c (patch)
treef61b9c0216e2aca10d92d83fe1239f3a9e826713 /src/bin/options.c
parentfork can fail (diff)
downloadterminology-f8429209bbe84a1b6c35e1d9a11f0e780597900c.tar.gz
add a Toolkit settings category to launch elementary_config. Closes https://phab.enlightenment.org/T1492
Diffstat (limited to 'src/bin/options.c')
-rw-r--r--src/bin/options.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/options.c b/src/bin/options.c
index c787898..e26171f 100644
--- a/src/bin/options.c
+++ b/src/bin/options.c
@@ -10,6 +10,7 @@
#include "options_behavior.h"
#include "options_keys.h"
#include "options_helpers.h"
+#include "options_elm.h"
#include "config.h"
#include "termio.h"
@@ -32,7 +33,8 @@ static enum option_mode {
OPTION_VIDEO,
OPTION_BEHAVIOR,
OPTION_KEYS,
- OPTION_HELPERS
+ OPTION_HELPERS,
+ OPTION_ELM
} _mode = 0;
static void
@@ -88,6 +90,7 @@ _cb_opdt_hide_done(void *data, Evas_Object *obj EINA_UNUSED, const char *sig EIN
case OPTION_BEHAVIOR: options_behavior(op_opbox, data); break;
case OPTION_KEYS: options_keys(op_opbox, data); break;
case OPTION_HELPERS: options_helpers(op_opbox, data); break;
+ case OPTION_ELM: options_elm(op_opbox, data); break;
}
edje_object_signal_emit(saved_bg, "optdetails,show", "terminology");
}
@@ -168,6 +171,7 @@ options_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term,
ITEM_APPEND("preferences-system", _("Behavior"), BEHAVIOR);
ITEM_APPEND("preferences-desktop-keyboard-shortcuts", _("Keys"), KEYS);
ITEM_APPEND("system-run", _("Helpers"), HELPERS);
+ ITEM_APPEND("apps", _("Toolkit"), ELM);
#undef ITEM_APPEND
elm_box_pack_end(op_tbox, o);