aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui.cc8
-rw-r--r--src/ui.hh2
2 files changed, 4 insertions, 6 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 27e44852..a0ec32a2 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -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();
diff --git a/src/ui.hh b/src/ui.hh
index 28bf71b2..b924fff1 100644
--- a/src/ui.hh
+++ b/src/ui.hh
@@ -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; }