aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-03-10 17:13:10 +0100
committerBoris Faure <billiob@gmail.com>2018-03-10 17:13:10 +0100
commit1a5384b19e09c9199437d3872cdc0fe26ebc82b3 (patch)
tree0c9262cb42d122a9b3671779d7992fb605db4fc8 /src
parentoptions_behavior: expect EFL > 1.8 (diff)
downloadterminology-1a5384b19e09c9199437d3872cdc0fe26ebc82b3.tar.gz
options: default is the behaviour tab. Closes https://phab.enlightenment.org/T2130
Diffstat (limited to 'src')
-rw-r--r--src/bin/options.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/bin/options.c b/src/bin/options.c
index 0d08ba7..9d1321e 100644
--- a/src/bin/options.c
+++ b/src/bin/options.c
@@ -18,12 +18,12 @@
enum option_mode {
OPTION_NONE = 0,
+ OPTION_BEHAVIOR,
OPTION_FONT,
OPTION_THEME,
OPTION_BACKGROUND,
OPTION_COLORS,
OPTION_VIDEO,
- OPTION_BEHAVIOR,
OPTION_KEYS,
OPTION_HELPERS,
OPTION_ELM,
@@ -98,12 +98,12 @@ _cb_opdt_hide_done(void *data,
switch (ctx->mode)
{
case OPTION_NONE: break;
+ case OPTION_BEHAVIOR: options_behavior(ctx->opbox, ctx->term); break;
case OPTION_FONT: options_font(ctx->opbox, ctx->term); break;
case OPTION_THEME: options_theme(ctx->opbox, ctx->term); break;
case OPTION_BACKGROUND: options_background(ctx->opbox, ctx->term); break;
case OPTION_COLORS: options_colors(ctx->opbox, ctx->term, ctx->bg); break;
case OPTION_VIDEO: options_video(ctx->opbox, ctx->term); break;
- case OPTION_BEHAVIOR: options_behavior(ctx->opbox, ctx->term); break;
case OPTION_KEYS: options_keys(ctx->opbox, ctx->term); break;
case OPTION_HELPERS: options_helpers(ctx->opbox, ctx->term); break;
case OPTION_ELM: options_elm(ctx->opbox, ctx->term); break;
@@ -230,13 +230,12 @@ options_show(Evas_Object *win, Evas_Object *base, Evas_Object *bg, Evas_Object *
elm_toolbar_item_append(o, _icon_name, _name, _cb_op, \
(void*) &ctx->modes[OPTION_##_option_mode])
- it_fn =
- ITEM_APPEND("preferences-desktop-font", _("Font"), FONT);
+ it_fn = ITEM_APPEND("preferences-system", _("Behavior"), BEHAVIOR);
+ ITEM_APPEND("preferences-desktop-font", _("Font"), FONT);
ITEM_APPEND("preferences-desktop-theme", _("Theme"), THEME);
ITEM_APPEND("preferences-desktop-background", _("Background"), BACKGROUND);
ITEM_APPEND("preferences-desktop-theme", _("Colors"), COLORS);
ITEM_APPEND("video-display", _("Video"), VIDEO);
- ITEM_APPEND("preferences-system", _("Behavior"), BEHAVIOR);
ITEM_APPEND("preferences-desktop-keyboard-shortcuts", _("Keys"), KEYS);
ITEM_APPEND("system-run", _("Helpers"), HELPERS);
ITEM_APPEND("preferences-color", _("Toolkit"), ELM);