summaryrefslogtreecommitdiff
path: root/src/findbar.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-05-22 21:22:27 +0200
committerjcid <devnull@localhost>2008-05-22 21:22:27 +0200
commitf021ae01e1e4e3c12424d18dc8f9f98b6dd701c3 (patch)
tree27243c7d3fd91b2326ec1cedfb7b01d80b6f9f14 /src/findbar.cc
parentdd92ec5e90ccd4a552563b06c3e87d7618599745 (diff)
- minor cleanup in findbar.cc
Diffstat (limited to 'src/findbar.cc')
-rw-r--r--src/findbar.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/findbar.cc b/src/findbar.cc
index e2a02c51..f5f8aad4 100644
--- a/src/findbar.cc
+++ b/src/findbar.cc
@@ -74,16 +74,6 @@ static void findbar_search_cb2(Widget *widget, void *vfb)
}
/*
- * Reset search state
- */
-static void findbar_clear_cb(Widget *, void *vfb)
-{
- Findbar *fb = (Findbar *)vfb;
- fb->i->value("");
- a_UIcmd_findtext_reset((BrowserWindow *) fb->ui->user_data());
-}
-
-/*
* Hide the search bar
*/
static void findbar_hide_cb(Widget *, void *vfb)
@@ -129,15 +119,6 @@ Findbar::Findbar(int width, int height, UI *ui) :
findb->add_shortcut(KeypadEnter);
findb->callback(findbar_search_cb, this);
- /*
- * I don't consider this button too useful, but feel free to
- * reenable it (make sure to adjust the input_width above
- *
- * clrb = new Button(x, border, button_width, height, "Clear");
- * x += button_width + gap;
- * clrb->callback(findbar_clear_cb, this);
- */
-
cb = new CheckButton(x, border, 2*button_width, height, "Case-sensitive");
x += 2 * button_width + gap;