1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Cfg: Remove other old cfg classes

This commit is contained in:
gnosygnu
2016-12-26 15:36:49 -05:00
parent 08dda6a82d
commit fd2f01eb94
15 changed files with 14 additions and 318 deletions

View File

@@ -53,7 +53,7 @@ class Xog_launcher_tabs {
}
private void Restore_tab_failover(Xoae_app app, Xowe_wiki home_wiki, Xog_win_itm win) {
try {
Launch_tab(win, home_wiki, gplx.xowa.users.Xouc_pages_mgr.Page_xowa);
Launch_tab(win, home_wiki, Xog_startup_tabs_.Page_xowa);
}
catch (Exception e) {
app.Usr_dlg().Warn_many("", "", "failed to launch failover tab: err=~{0}", Err_.Message_gplx_full(e));

View File

@@ -43,10 +43,11 @@ public class Xog_startup_tabs_ {
}
}
}
public static final String Page_xowa = "home/wiki/Main_Page";
public static String[] Calc_startup_strs(Xoae_app app) {
List_adp rv = List_adp_.New();
Xocfg_mgr cfg = app.Cfg();
String xowa_home = gplx.xowa.users.Xouc_pages_mgr.Page_xowa;
String xowa_home = Page_xowa;
String type = cfg.Get_str_app_or(Cfg__tabs_type, Opt__tabs_type__previous);
if (Manual == null) {
if (String_.Eq(type, "blank")) {rv.Add(gplx.xowa.specials.Xow_special_meta_.Itm__default_tab.Ttl_str());}