Actually display the favicon in history list
This commit is contained in:
parent
54251cc368
commit
a568b29c38
1 changed files with 4 additions and 5 deletions
|
@ -115,18 +115,17 @@ namespace HistoryList {
|
||||||
this.vbox.pack_start (this.hbox, true, true, 0);
|
this.vbox.pack_start (this.hbox, true, true, 0);
|
||||||
|
|
||||||
this.treeview = new Gtk.TreeView.with_model (store);
|
this.treeview = new Gtk.TreeView.with_model (store);
|
||||||
this.treeview.set_fixed_height_mode (true);
|
|
||||||
sw.add (treeview);
|
sw.add (treeview);
|
||||||
|
|
||||||
this.treeview.set_model (store);
|
this.treeview.set_model (store);
|
||||||
this.treeview.set ("headers-visible", false);
|
this.treeview.set ("headers-visible", false);
|
||||||
|
|
||||||
this.treeview.insert_column_with_attributes (
|
this.treeview.insert_column_with_attributes (
|
||||||
TabTreeCells.TREE_CELL_PIXBUF, "Icon",
|
-1, "Icon",
|
||||||
new CellRendererPixbuf (), "pixbuf", 0);
|
new CellRendererPixbuf (), "pixbuf", TabTreeCells.TREE_CELL_PIXBUF);
|
||||||
this.treeview.insert_column_with_attributes (
|
this.treeview.insert_column_with_attributes (
|
||||||
TabTreeCells.TREE_CELL_STRING, "Title",
|
-1, "Title",
|
||||||
new CellRendererText (), "text", 1);
|
new CellRendererText (), "text", TabTreeCells.TREE_CELL_STRING);
|
||||||
|
|
||||||
Requisition requisition;
|
Requisition requisition;
|
||||||
int height;
|
int height;
|
||||||
|
|
Loading…
Reference in a new issue