add Colors tab to options list
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
3503960a91
commit
f78cbaf9e2
|
@ -2,6 +2,7 @@
|
|||
#include "options.h"
|
||||
#include "options_general.h"
|
||||
#include "options_font.h"
|
||||
#include "options_colors.h"
|
||||
#include "options_video.h"
|
||||
#include "options_networks.h"
|
||||
#include "options_tools.h"
|
||||
|
@ -23,6 +24,7 @@ static enum _opt_mode
|
|||
OPTION_NONE = 0,
|
||||
OPTION_GENERAL,
|
||||
OPTION_FONT,
|
||||
OPTION_COLORS,
|
||||
OPTION_VIDEO,
|
||||
OPTION_NETWORKS
|
||||
} _mode = 0;
|
||||
|
@ -78,6 +80,9 @@ _cb_details_done(void *data, Evas_Object *obj EINA_UNUSED, const char *sig EINA_
|
|||
case OPTION_FONT:
|
||||
_options_font(o_box, grid);
|
||||
break;
|
||||
case OPTION_COLORS:
|
||||
_options_colors(o_box, grid);
|
||||
break;
|
||||
case OPTION_VIDEO:
|
||||
_options_video(o_box, grid);
|
||||
break;
|
||||
|
@ -170,6 +175,7 @@ _options_toggle(Evas_Object *win, Evas_Object *base, Evas_Object *grid, void (*c
|
|||
elm_toolbar_item_selected_set(o_itm, EINA_TRUE);
|
||||
|
||||
TB_APPEND("preferences-desktop-font", "Font", FONT);
|
||||
TB_APPEND("preferences-desktop-theme", "Colors", COLORS);
|
||||
TB_APPEND("video-display", "Video", VIDEO);
|
||||
TB_APPEND("preferences-system-network", "Networks", NETWORKS);
|
||||
#undef TB_APPEND
|
||||
|
|
Loading…
Reference in New Issue