[Bug 69973] gtk+ recent-files integration improvements

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 16 06:17:39 PST 2015


https://bugs.documentfoundation.org/show_bug.cgi?id=69973

Michael Meeks <michael.meeks at collabora.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Michael Meeks <michael.meeks at collabora.com> ---
Sure - so we do a call there that in AddDocumentToPickList does:

    if ( aURL.GetProtocol() == INET_PROT_FILE )
        Application::AddToRecentDocumentList( aURL.GetURLNoPass(
INetURLObject::NO_DECODE ),
                                                                 (pFilter) ?
pFilter->GetMimeType() : OUString(),
                                                                 (pFilter) ?
pFilter->GetServiceName() : OUString() );


Which (AFAICS) should not really be filtering out only file URLs (at least
here) but ... that ends up here:

    GtkRecentManager *manager = gtk_recent_manager_get_default ();
    gtk_recent_manager_add_item (manager, sGtkURL.getStr());

And (I guess) it is entirely possible that this now works properly =)

I believe the file-selector in other apps uses this, as that now synchronizes
without exiting libreoffice, we can close this guy =)

Thanks for the poke.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150216/1635debe/attachment.html>


More information about the LibreOffice mailing list