From f1c1d019c14ddb184078c79cd5d6a0631a644acd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 17 Feb 2015 03:41:45 +0000 Subject: Fix display of labels when port is created without. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5581 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/Port.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/Port.hpp') 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 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 pm); + Gtk::Menu* build_enum_menu(); Gtk::Menu* build_uri_menu(); GraphBox* get_graph_box() const; -- cgit v1.2.1