Show full path to addon in tooltips

This commit is contained in:
Paweł Forysiuk 2010-08-26 22:53:11 +02:00 committed by Christian Dywan
parent 7d3fa2a478
commit 49d249e6e1

View file

@ -731,7 +731,7 @@ addons_update_elements (MidoriExtension* extension,
gtk_list_store_append (liststore, &iter);
gtk_list_store_set (liststore, &iter,
0, element, 1, 0, 2, "", -1);
0, element, 1, 0, 2, element->fullpath, -1);
addon_files = g_slist_next (addon_files);
elements = g_slist_prepend (elements, element);
@ -777,6 +777,7 @@ addons_init (Addons* addons)
(GtkTreeCellDataFunc)addons_treeview_render_text_cb,
addons->treeview, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (addons->treeview), column);
gtk_tree_view_set_tooltip_column (GTK_TREE_VIEW (addons->treeview), 2);
g_signal_connect (addons->treeview, "row-activated",
G_CALLBACK (addons_treeview_row_activated_cb),
addons);