]> spindle.queued.net Git - midori/commitdiff
Show full path to addon in tooltips
authorPaweł Forysiuk <tuxator@o2.pl>
Thu, 26 Aug 2010 20:53:11 +0000 (22:53 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 27 Aug 2010 23:46:17 +0000 (01:46 +0200)
extensions/addons.c

index 088aa33198ab31d6fd678985debdbc4e24fd5ce4..58ecf92f9f07e7659b0c8f955d8f2f3556203f0e 100644 (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);