GNOME Bugzilla – Bug 111988
show full path as a tooltip
Last modified: 2005-07-11 08:43:19 UTC
I don't know if this belongs to libegg's recent file implementation or to the apps using it, but I'd find quite useful if the items in the recent list could have a tooltip (either as a popup or in the app statusbar) showing the full path of the file, so that if I have opened e.g. /home/paolo/bar.txt /home/paolo/foo/bar.txt in the recent files I have two entries recent: - bar.txt - bar.txt but when I place the mouse on one of the two I can pick the right one.
We added such tooltips in the panel, but I think the app should be responsible for doing this: for example, in the panel we have "Open '/tmp/foobar.txt'" as tooltip, but gedit might want to use another tooltip...
wow... I totally forgot about this bugreport :) FWIW aslo in gedit we have such tooltips now, but also in gedit we the tooltip is "Open '/tmp/foobar.txt'" so having it available in egg-recent might still make sense.
I have a patch for this, which shows the complete URI and the MIME type of the recent item, if no tooltip function was supplied by the user of EggRecentViewGytk. The layout is similar to the GEdit tooltip shown when hovering on the file tab, except for the markup (which would require the overhauling of the tooltip object - and I think that's too much for a widget that is going away).
In HEAD there's a patch for showing the "Open '<uri>'" tooltip if not tooltip function has been supplied (which should mean that many tooltip functions out there could simply be removed). The patch with the recent item's URI and MIME type is still here, but I don't think it's worth it.
2005-07-11 Emmanuele Bassi <ebassi@cvs.gnome.org> * libegg/recent-files/egg-recent-view-gtk.c: (egg_recent_view_gtk_create_tooltip), (egg_recent_view_gtk_add_item): Create a tooltip if no tooltip_func has been supplied (Closes bug #111988).