gnoteバグ修正パッチ
id:higeponさんへ。メニュー部分はこんな感じで動くようになります。他にもあやしいとこはありますが。
$ svn diff Index: Misc/gnote/trash/tactionevent.hpp =================================================================== --- Misc/gnote/trash/tactionevent.hpp (revision 3490) +++ Misc/gnote/trash/tactionevent.hpp (working copy) @@ -29,9 +29,6 @@ #ifndef __TRASH_TACTIONEVENT_HPP__ #define __TRASH_TACTIONEVENT_HPP__ -// :-) -#define ACTION_PERFORMED Event::CUSTOM_EVENT + 1 - #include "baygui.h" #include "baygui/awt/event/ActionEvent.h" Index: Misc/gnote/trash/tmenu.cpp =================================================================== --- Misc/gnote/trash/tmenu.cpp (revision 3490) +++ Misc/gnote/trash/tmenu.cpp (working copy) @@ -69,7 +69,7 @@ // void TMenu::processEvent(Event* event) { switch (event->getType()) { - case ACTION_PERFORMED: + case Event::ACTION_PERFORMED: if (popupMenu.getFocused()) { popupMenu.hide(); } else { Index: Misc/gnote/controller.cpp =================================================================== --- Misc/gnote/controller.cpp (revision 3490) +++ Misc/gnote/controller.cpp (working copy) @@ -57,7 +57,7 @@ ProcessKeyPressedEvent(reinterpret_cast<KeyEvent*>(event)); } break; - case ACTION_PERFORMED: + case Event::ACTION_PERFORMED: ProcessActionEvent(reinterpret_cast<TActionEvent*>(event)); break; default: