]> spindle.queued.net Git - midori/commitdiff
Thaw the location action when setting history in a new window
authorChristian Dywan <christian@twotoasts.de>
Fri, 17 Jul 2009 20:55:41 +0000 (22:55 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 17 Jul 2009 20:55:41 +0000 (22:55 +0200)
Full history completion was missing because we set the model in new
windows but failed to setup the filter and sort models properly.

midori/midori-locationaction.c

index 886a0fa1325afa3e0308db6e7dd101f598fe7ed9..3d630fd130037be4a0b7171a01b9acdc735fdcf4 100644 (file)
@@ -460,7 +460,8 @@ midori_location_action_set_property (GObject*      object,
         if (model != NULL)
         {
             katze_object_assign (location_action->model, g_object_ref (model));
-            midori_location_action_set_model (location_action, model);
+            location_action->filter_model = NULL;
+            midori_location_action_thaw (location_action);
         }
         else
         {