]> git.saurik.com Git - wxWidgets.git/commit - build/msw/makefile.vc
Integrate with GNOME's Recent Documents menu.
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 May 2010 06:45:48 +0000 (06:45 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 May 2010 06:45:48 +0000 (06:45 +0000)
commit690ddfec6e14f663fd1b5b98f1b68208344d1ffc
tree13adc8821925ddc601ea5274af799aee792eb515
parent81227455714950ea76cd6a82aa465d0b8dc4f29b
Integrate with GNOME's Recent Documents menu.

GTK+ provides GtkRecentManager for this purpose since 2.10. Use it in
wxFileHistory if available. Integration is simple, we just add a file to
GtkRecentManager in addition to normal wxFileHistory handling.

A well-behaved GNOME application would use GtkRecentManager as the
primary store for recent files, so that it reflects when the user works
with supported files in another editor(s) too. But for now, this is much
better than no support at all.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
14 files changed:
Makefile.in
build/bakefiles/files.bkl
build/msw/makefile.bcc
build/msw/makefile.gcc
build/msw/makefile.vc
build/msw/makefile.wat
build/msw/wx_core.dsp
build/msw/wx_vc7_core.vcproj
build/msw/wx_vc8_core.vcproj
build/msw/wx_vc9_core.vcproj
include/wx/filehistory.h
include/wx/gtk/filehistory.h [new file with mode: 0644]
src/common/filehistorycmn.cpp
src/gtk/filehistory.cpp [new file with mode: 0644]