Benedikt Meurer wrote:

Indeed, it's ugly. Never noticed so far. Now I only need your patch. ;-)

Oops! Here it is.

Jeff
diff -ru thunar/thunar/thunar-window.c thunar-new/thunar/thunar-window.c
--- thunar/thunar/thunar-window.c	2005-08-29 16:07:27.000000000 +1000
+++ thunar-new/thunar/thunar-window.c	2005-08-29 16:37:22.000000000 +1000
@@ -402,7 +402,10 @@
   /* drop the previous location bar (if any) */
   widget = gtk_bin_get_child (GTK_BIN (window->location_bar));
   if (G_LIKELY (widget != NULL))
+  {
+    gtk_widget_hide (window->location_bar);
     gtk_widget_destroy (widget);
+  }
 
   /* determine the new type of location bar */
   type = gtk_radio_action_get_current_value (action);
@@ -416,6 +419,7 @@
                        G_OBJECT (widget), "current-directory");
       gtk_container_add (GTK_CONTAINER (window->location_bar), widget);
       gtk_widget_show (widget);
+      gtk_widget_show (window->location_bar);
     }
 }
 
_______________________________________________
Thunar-dev mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/thunar-dev

Reply via email to