*** empty log message ***
authorgc <gc>
Tue, 20 May 2008 21:44:08 +0000 (21:44 +0000)
committergc <gc>
Tue, 20 May 2008 21:44:08 +0000 (21:44 +0000)
bin/booh

index cb61241..60c6dfb 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -2889,8 +2889,6 @@ def open_file(filename)
 
     populate_subalbums_treeview(true)
 
-    $main_window.title = 'booh - ' + File.basename(filename)
-
     $save.sensitive = $save_as.sensitive = $merge_current.sensitive = $merge_newsubs.sensitive = $merge.sensitive = $generate.sensitive = $view_wa.sensitive = $properties.sensitive = $remove_all_captions.sensitive = $sort_by_exif_date.sensitive = true
     return nil
 end
@@ -2903,6 +2901,7 @@ def open_file_user(filename)
             $config['last-opens'] << utf8(filename)
         end
         $orig_filename = $filename
+        $main_window.title = 'booh - ' + File.basename($orig_filename)
         tmp = Tempfile.new("boohtemp")
         tmp.close!
         #- for security