summaryrefslogtreecommitdiffstats
path: root/src/gui/Port.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/Port.hpp')
-rw-r--r--src/gui/Port.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/Port.hpp b/src/gui/Port.hpp
index e547fcc4..44703fb4 100644
--- a/src/gui/Port.hpp
+++ b/src/gui/Port.hpp
@@ -50,7 +50,6 @@ public:
App& app,
Ganv::Module& module,
SPtr<const Client::PortModel> pm,
- bool human_name,
bool flip = false);
~Port();
@@ -59,6 +58,7 @@ public:
bool show_menu(GdkEventButton* ev);
void update_metadata();
+ void ensure_label();
void value_changed(const Atom& value);
void activity(const Atom& value);
@@ -73,6 +73,8 @@ private:
const std::string& name,
bool flip = false);
+ static std::string port_label(App& app, SPtr<const Client::PortModel> pm);
+
Gtk::Menu* build_enum_menu();
Gtk::Menu* build_uri_menu();
GraphBox* get_graph_box() const;