*** empty log message ***
authorgc <gc>
Mon, 18 Feb 2008 22:12:38 +0000 (22:12 +0000)
committergc <gc>
Mon, 18 Feb 2008 22:12:38 +0000 (22:12 +0000)
bin/booh-classifier

index 798937164be734a6f14da4794fa9c20c0183f3e1..6348172cdd582d304d84ebf243cb110e4b7ae4b9 100644 (file)
@@ -242,7 +242,8 @@ class Entry
         @path = path
         @type = type
         if @@max_width.nil?
-            @@max_width = $main_window.root_window.size[0] - $labels_vbox.allocation.width
+            @@max_width = $main_window.root_window.size[0] - $labels_vbox.allocation.width - ( $videoborder_pixbuf.width + MainView.borders_thickness) * 2
+            puts @@max_width
         end
         @protect_cleanup = Mutex.new
     end
@@ -444,6 +445,10 @@ class MainView < Gtk::DrawingArea
     @@borders_thickness = 5
     @@borders_length = 25
 
+    def MainView.borders_thickness
+        return @@borders_thickness
+    end
+
     def MainView.get_usable_width(available_width)
         return available_width - ($videoborder_pixbuf.width + @@borders_thickness) * 2
     end