aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-12-31 20:56:15 +0000
committercorvid <corvid@lavabit.com>2012-12-31 20:56:15 +0000
commite08e7ab217958c095ae4d11d33726b016e773723 (patch)
treeb7bfd7f7d0061c6856b39555cb1c95928b516ae1 /src
parent07f12d12a67d844f35292deb299c6782793dde5d (diff)
we still aren't using UI::customize() flags arg, so rm it
Diffstat (limited to 'src')
-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; }