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

          Priority: medium
            Bug ID: 69973
          Assignee: [email protected]
           Summary: gtk+ recent-files integration improvements
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.2.0.0.alpha0+ Master
         Component: Libreoffice
           Product: LibreOffice

IIRC recent-files doesn't update until the app exits; this is way too late. We
should instead expose and model the GtkRecent object and update as/when we get
a signal to do so, my old (2008) note says:

  + it only updates the recent-files on application exit
  + I believe it's only write-only, ie. if you open an XLS in gnumeric, it
    will be in Panel->System->Recent Files, but it will not be available
    in File->Recent Documents in OO.o

I guess with the new recent-files code in gtk+ we should be able to listen to
"changed" on the gtkrecent object - and get nice live updates here.

The code to hack is: sfx2/source/appl/sfxpicklist.cxx and
shell/source/unix/sysshell/systemshell.cxx - we need a new API to fetch the
picklist and use that instead of SvtHistoryOptions.GetList - I imagine.

Hopefully this is not impossibly hard.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to