Show full path to addon in tooltips
This commit is contained in:
parent
7d3fa2a478
commit
49d249e6e1
1 changed files with 2 additions and 1 deletions
|
@ -731,7 +731,7 @@ addons_update_elements (MidoriExtension* extension,
|
||||||
|
|
||||||
gtk_list_store_append (liststore, &iter);
|
gtk_list_store_append (liststore, &iter);
|
||||||
gtk_list_store_set (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);
|
addon_files = g_slist_next (addon_files);
|
||||||
elements = g_slist_prepend (elements, element);
|
elements = g_slist_prepend (elements, element);
|
||||||
|
@ -777,6 +777,7 @@ addons_init (Addons* addons)
|
||||||
(GtkTreeCellDataFunc)addons_treeview_render_text_cb,
|
(GtkTreeCellDataFunc)addons_treeview_render_text_cb,
|
||||||
addons->treeview, NULL);
|
addons->treeview, NULL);
|
||||||
gtk_tree_view_append_column (GTK_TREE_VIEW (addons->treeview), column);
|
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_signal_connect (addons->treeview, "row-activated",
|
||||||
G_CALLBACK (addons_treeview_row_activated_cb),
|
G_CALLBACK (addons_treeview_row_activated_cb),
|
||||||
addons);
|
addons);
|
||||||
|
|
Loading…
Reference in a new issue