--- catfish.orig.py	2010-05-10 03:59:48.802456485 +0700
+++ catfish.py	2010-05-21 04:38:46.916878522 +0700
@@ -256,6 +256,17 @@
         if self.link_color == None:
             self.link_color = 'blue'
 
+        #try to remove horizontal scrollbar if the directory chooser is too wide
+        try:
+            panewidth = self.button_find_folder.get_allocation().width + 5
+            if self.scrolled_findbar.get_vscrollbar:
+                panewidth += self.scrolled_findbar.get_vscrollbar().get_allocation().width;
+            refwidth = self.scrolled_findbar.get_allocation().width
+            if panewidth > refwidth:
+                self.scrolled_findbar.set_size_request(panewidth,-1)
+        except:
+            panewidth = 0
+
         # Set up keywords completion
         completion = gtk.EntryCompletion()
         self.entry_find_text.set_completion(completion)
@@ -359,6 +370,7 @@
         self.combobox_filemanager = widgets.get_widget('combobox_filemanager')
         self.combobox_openwrapper = widgets.get_widget('combobox_openwrapper')
         self.combobox_defaultaction = widgets.get_widget('combobox_defaultaction')
+        self.scrolled_findbar = widgets.get_widget('scrolled_findbar')
 
     def new_toggle_button(self, label, filter):
         togglebutton = gtk.ToggleToolButton()
