]> spindle.queued.net Git - midori/commitdiff
Actually display the favicon in history list
authorAndré Stösel <andre@stoesel.de>
Thu, 1 Sep 2011 21:39:24 +0000 (23:39 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 5 Sep 2011 23:24:45 +0000 (01:24 +0200)
extensions/history-list.vala

index a53bbb6f0c060534a2afd72c51c24b89ea50b23f..46ad5a44aa264c45f3fc97a13ab3d06358166477 100644 (file)
@@ -115,18 +115,17 @@ namespace HistoryList {
             this.vbox.pack_start (this.hbox, true, true, 0);
 
             this.treeview = new Gtk.TreeView.with_model (store);
-            this.treeview.set_fixed_height_mode (true);
             sw.add (treeview);
 
             this.treeview.set_model (store);
             this.treeview.set ("headers-visible", false);
 
             this.treeview.insert_column_with_attributes (
-                TabTreeCells.TREE_CELL_PIXBUF, "Icon",
-                new CellRendererPixbuf (), "pixbuf", 0);
+                -1, "Icon",
+                new CellRendererPixbuf (), "pixbuf", TabTreeCells.TREE_CELL_PIXBUF);
             this.treeview.insert_column_with_attributes (
-                TabTreeCells.TREE_CELL_STRING, "Title",
-                new CellRendererText (), "text", 1);
+                -1, "Title",
+                new CellRendererText (), "text", TabTreeCells.TREE_CELL_STRING);
 
             Requisition requisition;
             int height;