diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-04-15 15:28:31 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-04-15 15:28:37 +0200 |
| commit | 219c623b4b822e1a6ccc524a184c49ad838c6647 (patch) | |
| tree | 94450d7230b774e2542b0ad555eeb7106286a9c3 /fluid/app | |
| parent | fc91880faf7968432710e439e77ef067759d16fc (diff) | |
Fluid: hiding MergeBack form the main menu.
Hiding menuitem if option is not available.
Also testing the new FL_BEFORE_MENU event.
Diffstat (limited to 'fluid/app')
| -rw-r--r-- | fluid/app/Snap_Action.cxx | 2 | ||||
| -rw-r--r-- | fluid/app/shell_command.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fluid/app/Snap_Action.cxx b/fluid/app/Snap_Action.cxx index d67e074cb..941d4217e 100644 --- a/fluid/app/Snap_Action.cxx +++ b/fluid/app/Snap_Action.cxx @@ -22,9 +22,9 @@ #include "nodes/Group_Node.h" #include "nodes/Window_Node.h" #include "panels/settings_panel.h" +#include "widgets/App_Menu_Bar.h" #include <FL/fl_draw.H> -#include <FL/Fl_Menu_Bar.H> #include <FL/fl_string_functions.h> #include <math.h> diff --git a/fluid/app/shell_command.cxx b/fluid/app/shell_command.cxx index 3bb252cae..e0080dfd5 100644 --- a/fluid/app/shell_command.cxx +++ b/fluid/app/shell_command.cxx @@ -102,9 +102,9 @@ #include "io/Project_Reader.h" #include "io/Project_Writer.h" #include "panels/settings_panel.h" +#include "widgets/App_Menu_Bar.h" #include <FL/Fl_Double_Window.H> -#include <FL/Fl_Menu_Bar.H> #include <FL/fl_message.H> #include <FL/fl_string_functions.h> |
