diff options
author | corvid <corvid@lavabit.com> | 2012-12-31 20:56:15 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2012-12-31 20:56:15 +0000 |
commit | e08e7ab217958c095ae4d11d33726b016e773723 (patch) | |
tree | b7bfd7f7d0061c6856b39555cb1c95928b516ae1 /src | |
parent | 07f12d12a67d844f35292deb299c6782793dde5d (diff) |
we still aren't using UI::customize() flags arg, so rm it
Diffstat (limited to 'src')
-rw-r--r-- | src/ui.cc | 8 | ||||
-rw-r--r-- | src/ui.hh | 2 |
2 files changed, 4 insertions, 6 deletions
@@ -688,7 +688,7 @@ UI::UI(int x, int y, int ui_w, int ui_h, const char* label, const UI *cur_ui) : TopGroup->end(); TopGroup->rearrange(); - customize(0); + customize(); if (Panelmode == UI_HIDDEN) { panels_toggle(); @@ -925,10 +925,8 @@ void UI::set_bug_prog(int n_bug) /* * Customize the UI's panel (show/hide buttons) */ -void UI::customize(int flags) +void UI::customize() { - // flags argument not currently used - if ( !prefs.show_back ) Back->hide(); if ( !prefs.show_forw ) @@ -983,7 +981,7 @@ void UI::change_panel(int new_size, int small_icons) // make a new panel make_panel(TopGroup->w()); - customize(0); + customize(); a_UIcmd_set_buttons_sens(a_UIcmd_get_bw_by_widget(this)); TopGroup->rearrange(); @@ -167,7 +167,7 @@ public: void set_img_prog(int n_img, int t_img, int cmd); void set_bug_prog(int n_bug); void set_render_layout(Fl_Group *nw); - void customize(int flags); + void customize(); void button_set_sens(UIButton btn, int sens); void paste_url(); int get_panelsize() { return PanelSize; } |