After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 312475 - EggRecentViewUIManager does not use egg_recent_item_get_short_name as the other views.
EggRecentViewUIManager does not use egg_recent_item_get_short_name as the oth...
Status: RESOLVED FIXED
Product: libegg
Classification: Other
Component: recent-files
unspecified
Other All
: Normal normal
: ---
Assigned To: Emmanuele Bassi (:ebassi)
Libegg maintenance
Depends on:
Blocks:
 
 
Reported: 2005-08-03 15:21 UTC by Paolo Maggi
Modified: 2005-08-21 19:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Paolo Maggi 2005-08-03 15:21:23 UTC
As I said in the summary EggRecentViewUIManage does not use
egg_recent_item_get_short_name as the other views. 

It uses the following code:

    uri = egg_recent_item_get_uri_for_display (item);

    if (uri == NULL)
	continue;

    [...]

    basename = g_path_get_basename (uri);

I don't have time now to produce a patch. But if required I will try to provide
one when I will be back from vacation.
Comment 1 Emmanuele Bassi (:ebassi) 2005-08-09 00:51:06 UTC
I have a patch for this, also enabling the default tooltip as its used in
EggRecentViewGtk.  I'll try and commit ASAP.
Comment 2 Emmanuele Bassi (:ebassi) 2005-08-21 19:03:22 UTC
2005-08-21  Emmanuele Bassi  <ebassi@cvs.gnome.org>

        * libegg/recent-files/egg-recent-view-uimanager.c:
        (egg_recent_view_uimanager_set_list): use
        egg_recent_item_get_short_name() to get the file's basename (fixes
        bug #312475).