diff options
Diffstat (limited to 'src/progs/gtk/OmFlowCanvas.h')
-rw-r--r-- | src/progs/gtk/OmFlowCanvas.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/progs/gtk/OmFlowCanvas.h b/src/progs/gtk/OmFlowCanvas.h index 2a553f5b..1871de80 100644 --- a/src/progs/gtk/OmFlowCanvas.h +++ b/src/progs/gtk/OmFlowCanvas.h @@ -50,18 +50,21 @@ public: void destroy_selected(); void show_menu(GdkEvent* event) - { m_menu.popup(event->button.button, event->button.time); } + { m_menu->popup(event->button.button, event->button.time); } void menu_load_plugin(); - void menu_load_subpatch(); - void menu_create_subpatch(); + void menu_new_patch(); + void menu_load_patch(); private: PatchController* m_patch_controller; int m_last_click_x; int m_last_click_y; - Gtk::Menu m_menu; + Gtk::Menu* m_menu; + Gtk::MenuItem* m_menu_load_plugin; + Gtk::MenuItem* m_menu_load_patch; + Gtk::MenuItem* m_menu_new_patch; }; |