summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/PortMenu.cpp4
-rw-r--r--src/gui/ingen_gui.ui13
2 files changed, 11 insertions, 6 deletions
diff --git a/src/gui/PortMenu.cpp b/src/gui/PortMenu.cpp
index a2dc57de..b779fe25 100644
--- a/src/gui/PortMenu.cpp
+++ b/src/gui/PortMenu.cpp
@@ -69,6 +69,10 @@ PortMenu::init(App& app, SharedPtr<const PortModel> port, bool patch_port)
const bool is_control = app.can_control(port.get())
&& port->is_numeric();
+ _reset_range_menuitem->set_visible(true);
+ _set_max_menuitem->set_visible(true);
+ _set_min_menuitem->set_visible(true);
+
_reset_range_menuitem->set_sensitive(is_control);
_set_max_menuitem->set_sensitive(is_control);
_set_min_menuitem->set_sensitive(is_control);
diff --git a/src/gui/ingen_gui.ui b/src/gui/ingen_gui.ui
index f5c88bde..d91d753e 100644
--- a/src/gui/ingen_gui.ui
+++ b/src/gui/ingen_gui.ui
@@ -1465,13 +1465,8 @@ Contributors:
</object>
</child>
<child>
- <object class="GtkSeparatorMenuItem" id="object_menu_separator">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- </object>
- </child>
- <child>
<object class="GtkImageMenuItem" id="node_controls_menuitem">
+ <property name="label" translatable="yes">Show Controls...</property>
<property name="can_focus">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="use_action_appearance">False</property>
@@ -1480,6 +1475,7 @@ Contributors:
</child>
<child>
<object class="GtkImageMenuItem" id="node_popup_gui_menuitem">
+ <property name="label" translatable="yes">Show GUI...</property>
<property name="can_focus">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="use_action_appearance">False</property>
@@ -1491,10 +1487,12 @@ Contributors:
<property name="can_focus">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="use_action_appearance">False</property>
+ <property name="label" translatable="yes">Embed GUI</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="node_randomize_menuitem">
+ <property name="label" translatable="yes">Randomize</property>
<property name="can_focus">False</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">False</property>
@@ -1504,18 +1502,21 @@ Contributors:
<object class="GtkMenuItem" id="port_set_min_menuitem">
<property name="can_focus">False</property>
<property name="use_action_appearance">False</property>
+ <property name="label" translatable="yes">Set Minimum</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="port_set_max_menuitem">
<property name="can_focus">False</property>
<property name="use_action_appearance">False</property>
+ <property name="label" translatable="yes">Set Maximum</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="port_reset_range_menuitem">
<property name="can_focus">False</property>
<property name="use_action_appearance">False</property>
+ <property name="label" translatable="yes">Reset Range</property>
</object>
</child>
</object>