monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 67b3030ed05577db046a1ebff83248d3303737


From: monotone
Subject: [Monotone-commits-diffs] Revision 67b3030ed05577db046a1ebff83248d330373791
Date: Mon, 15 Oct 2007 03:05:25 +0200

-----------------------------------------------------------------
Revision: 67b3030ed05577db046a1ebff83248d330373791
Ancestor: dcea1a8e65293ff35915c668fac541b3eb7a03cb
Author: address@hidden
Date: 2007-06-24T20:48:59
Branch: net.venge.monotone.guitone

Added files:
        src/view/MacStartMenu.cpp src/view/MacStartMenu.h
Modified files:
        guitone.pro res/i18n/guitone_de.ts src/Guitone.cpp
        src/Guitone.h src/main.cpp src/util/CocoaUtil.h
        src/util/CocoaUtil.mm src/view/MainWindow.cpp

ChangeLog: 

* MacStartMenu.h/.cpp: a global menubar with basic open commands if guitone
is started without opening a workspace or database in the same breath.
This is only available on Mac OS X, basically because the "load recent
automatically" doesn't work quite well there in comparison with other
platforms and only on OSX there is the possibility for an application
to have a menubar without having a window... see the FIXME comment in
Guitone.cpp for more information about the OSX issue.
* Guitone.cpp (ctor): get rid of Carbon-code to catch the system's 
OpenDocumentAE event, which is nicely handled by Qt itself as long as we 
override event(QEvent *) in our QApplication-derived app class
* Guitone.cpp (init): ...was renamed to "loadSomething" - initialisation
stuff was put into ctor and loadSomething is now executed in a single
shot _after_ the main GUI thread runs; note that this function is only used
on Windows and Linux because of the above mentioned problems
* Guitone.cpp (quit): moved window closing code into separate
"closeAllWindows" to avoid the explicit quit() afterwards which may come
at a point where we still want to keep the application alive
* CocoaUtil.h/.mm: removed FSRefToPath stuff
* MainWindow.cpp: only include ApplicationUpdate dialog header if not
building on OSX

Attachment: txt0BeLwcaF46.txt
Description: Diff [dcea1a8e65293ff35915c668fac541b3eb7a03cb] -> [67b3030ed05577db046a1ebff83248d330373791]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]