entrance: set the theme name without entrance_conf_set

devs/bu5hm4n/develop
Marcel Hollerbach 10 years ago
parent 84173fc511
commit ef7bc14bcb
  1. 2
      src/bin/entrance_conf_theme.c
  2. 4
      src/bin/entrance_gui.c

@ -176,7 +176,7 @@ _entrance_conf_theme_apply(void)
entrance_gui_background_get(&conf.bg.path, &conf.bg.group);
entrance_connect_conf_gui_send(&conf);
entrance_gui_conf_set(&conf);
entrance_gui_theme_name_set(conf.theme);
entrance_conf_changed();
}

@ -525,10 +525,6 @@ entrance_gui_conf_set(const Entrance_Conf_Gui_Event *conf)
_gui->vkbd_enabled = conf->vkbd_enabled;
_gui->changed &= ENTRANCE_CONF_VKBD;
}
if (_gui->theme != conf->theme)
{
entrance_gui_theme_name_set(conf->theme);
}
_gui->changed = ~(ENTRANCE_CONF_NONE);
_entrance_gui_update();
}

Loading…
Cancel
Save