mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 06:36:29 +01:00
fix window-title (separate application name, thread name)
This commit is contained in:
parent
23333a271e
commit
ee541036b4
2 changed files with 4 additions and 4 deletions
|
|
@ -67,8 +67,8 @@ BaseUI::RequestType Gtkmm2ext::AddTimeout = BaseUI::new_request_type();
|
|||
|
||||
template class AbstractUI<Gtkmm2ext::UIRequest>;
|
||||
|
||||
UI::UI (string namestr, int *argc, char ***argv)
|
||||
: AbstractUI<UIRequest> (namestr)
|
||||
UI::UI (string application_name, string thread_name, int *argc, char ***argv)
|
||||
: AbstractUI<UIRequest> (thread_name)
|
||||
, _receiver (*this)
|
||||
, errors (0)
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ UI::UI (string namestr, int *argc, char ***argv)
|
|||
errors->text().set_name ("ErrorText");
|
||||
errors->signal_unmap().connect (sigc::bind (sigc::ptr_fun (&ActionManager::uncheck_toggleaction), X_("<Actions>/Editor/toggle-log-window")));
|
||||
|
||||
Glib::set_application_name(namestr);
|
||||
Glib::set_application_name (application_name);
|
||||
|
||||
WindowTitle title(Glib::get_application_name());
|
||||
title += _("Log");
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ class LIBGTKMM2EXT_API UI : public AbstractUI<UIRequest>
|
|||
MyReceiver _receiver;
|
||||
|
||||
public:
|
||||
UI (std::string name, int *argc, char **argv[]);
|
||||
UI (std::string, std::string, int *argc, char **argv[]);
|
||||
virtual ~UI ();
|
||||
|
||||
static UI *instance() { return theGtkUI; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue