diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-29 11:03:09 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-29 11:03:09 +0100 |
commit | ee541036b40327854b445c631c318d79d5c93b07 (patch) | |
tree | 89760ab4cc61573e1b941ac432cd04c2825d49a6 /libs/gtkmm2ext/gtk_ui.cc | |
parent | 23333a271e76142b3db202afc3d4ce0778e6aed7 (diff) |
fix window-title (separate application name, thread name)
Diffstat (limited to 'libs/gtkmm2ext/gtk_ui.cc')
-rw-r--r-- | libs/gtkmm2ext/gtk_ui.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/gtkmm2ext/gtk_ui.cc b/libs/gtkmm2ext/gtk_ui.cc index 538bf8d63f..b550b6cf8c 100644 --- a/libs/gtkmm2ext/gtk_ui.cc +++ b/libs/gtkmm2ext/gtk_ui.cc @@ -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"); |