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

Cfg: Standardize rest of cfg keys

This commit is contained in:
gnosygnu
2016-12-27 15:16:46 -05:00
parent 50092ae60a
commit fd12ed88a4
33 changed files with 91 additions and 103 deletions

View File

@@ -92,7 +92,7 @@ public class Xog_resizer implements Gfo_invk {
else return Gfo_invk_.Rv_unhandled;
return this;
}
private static final String Cfg__browser__adj_type = "xowa.gui.window.browser.adj_type", Cfg__browser__adj_rect = "xowa.gui.window.browser.adj_rect";
private static final String Cfg__browser__adj_type = "xowa.gui.html_box.adj_type", Cfg__browser__adj_rect = "xowa.gui.html_box.adj_rect";
private static RectAdp Prv_elem_rect_initial = RectAdp_.Zero, Prv_elem_rect_win_7 = RectAdp_.new_(0, -1, 0, 0);
private static void Exec_win_resize_elem(Xog_layout_box box, GfuiElem cur_elem, Rect_ref cur_elem_rect, GfuiElem prv_elem, byte layout) {Exec_win_resize_elem(box, cur_elem, cur_elem_rect, prv_elem.Rect(), layout);}

View File

@@ -40,6 +40,6 @@ public class Xol_font_info implements Gfo_invk, Gfo_evt_mgr_owner {
public static final String Font_changed = "font_changed";
private void Font_changed_pub() {Gfo_evt_mgr_.Pub_obj(this, Font_changed, "font", this);}
private static final String Cfg__font_name = "xowa.gui.window.font.name";
public static final String Cfg__font_size = "xowa.gui.window.font.size";
private static final String Cfg__font_name = "xowa.gui.app.font.name";
public static final String Cfg__font_size = "xowa.gui.app.font.size";
}

View File

@@ -96,5 +96,5 @@ public class Xog_startup_tabs_ {
, Cfg__prev_selected = "xowa.app.startup.tabs.previous_selected"
, Opt__tabs_type__previous = "previous"
;
public static final String Cfg__prev_version = "xowa.app.session.version";
public static final String Cfg__prev_version = "xowa.app.previous_version";
}

View File

@@ -274,7 +274,7 @@ public class Xog_tab_mgr implements Gfo_evt_itm {
, Cfg__unselected_close_btn_visible = "xowa.gui.tabs.unselected_close_btn_visible"
, Cfg__max_chars = "xowa.gui.tabs.max_chars"
, Cfg__min_chars = "xowa.gui.tabs.min_chars"
, Cfg__javascript_enabled = "xowa.gui.browser.javascript_enabled"
, Cfg__page_load_mode = "xowa.gui.browser.page_load_mode"
, Cfg__javascript_enabled = "xowa.gui.html_box.javascript_enabled"
, Cfg__page_load_mode = "xowa.gui.html_box.page_load_mode"
;
}

View File

@@ -26,5 +26,5 @@ public class Xog_win_itm_cfg implements Gfo_invk {
else return Gfo_invk_.Rv_unhandled;
return this;
}
private static final String Cfg__status__show_short_url = "xowa.gui.window.status.show_short_url";
private static final String Cfg__status__show_short_url = "xowa.gui.prog_box.show_short_url";
}