diff options
author | David Robillard <d@drobilla.net> | 2015-02-17 03:41:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-17 03:41:45 +0000 |
commit | f1c1d019c14ddb184078c79cd5d6a0631a644acd (patch) | |
tree | 8f625d85d8983a7fba5b2f2f7a0ec22a12e5d832 /src/gui/Port.hpp | |
parent | fb8f05cdd3bcb7c322d5d67dac009bf668e209df (diff) | |
download | ingen-f1c1d019c14ddb184078c79cd5d6a0631a644acd.tar.gz ingen-f1c1d019c14ddb184078c79cd5d6a0631a644acd.tar.bz2 ingen-f1c1d019c14ddb184078c79cd5d6a0631a644acd.zip |
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
Diffstat (limited to 'src/gui/Port.hpp')
-rw-r--r-- | src/gui/Port.hpp | 4 |
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; |