summaryrefslogtreecommitdiff
path: root/src/gui/panels
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-03-11 19:47:05 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-03-11 19:47:05 (GMT)
commit0a190905f31d7c395e1b26efe3abe443687429e5 (patch)
treeb359fe59b6cbfb2cf40181ec0f1fdb24f17b5682 /src/gui/panels
parentd53249c8021270a4070181d032da33e129c36e9f (diff)
Defined new config parameters for the edge colors.
Diffstat (limited to 'src/gui/panels')
-rw-r--r--src/gui/panels/regedit.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/panels/regedit.c b/src/gui/panels/regedit.c
index 8ecc99b..db98f28 100644
--- a/src/gui/panels/regedit.c
+++ b/src/gui/panels/regedit.c
@@ -400,6 +400,10 @@ static void reload_config_into_treeview(GRegeditPanel *panel, GGenConfig *config
type_desc = _("String");
break;
+ case CPT_COLOR:
+ type_desc = _("Color");
+ break;
+
default:
type_desc = _("<Unknown type>");
break;
@@ -536,6 +540,10 @@ static void update_config_param_value(GtkListStore *store, GtkTreeIter *iter)
desc = (string != NULL ? string : "");
break;
+ case CPT_COLOR:
+ desc = "<color>";
+ break;
+
default:
assert(false);
desc = "???";
@@ -723,6 +731,9 @@ static void on_param_value_edited(GtkCellRendererText *renderer, gchar *path, gc
g_config_param_set_value(param, new);
break;
+ case CPT_COLOR:
+ break;
+
default:
assert(false);
goto opve_bad_value;