changeset 228:9bdf79df606d

- minor cleanup in findbar.cc
author jcid
date Thu, 22 May 2008 21:22:27 +0200
parents 1819823535ed
children e8cc07642f58
files src/findbar.cc
diffstat 1 files changed, 0 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/src/findbar.cc	Thu May 22 21:19:36 2008 +0200
+++ b/src/findbar.cc	Thu May 22 21:22:27 2008 +0200
@@ -74,16 +74,6 @@
 }
 
 /*
- * 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 @@
     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;