summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-12-29 11:03:09 +0100
committerRobin Gareus <robin@gareus.org>2015-12-29 11:03:09 +0100
commitee541036b40327854b445c631c318d79d5c93b07 (patch)
tree89760ab4cc61573e1b941ac432cd04c2825d49a6 /libs
parent23333a271e76142b3db202afc3d4ce0778e6aed7 (diff)
fix window-title (separate application name, thread name)
Diffstat (limited to 'libs')
-rw-r--r--libs/gtkmm2ext/gtk_ui.cc6
-rw-r--r--libs/gtkmm2ext/gtkmm2ext/gtk_ui.h2
2 files changed, 4 insertions, 4 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");
diff --git a/libs/gtkmm2ext/gtkmm2ext/gtk_ui.h b/libs/gtkmm2ext/gtkmm2ext/gtk_ui.h
index 868f71fd8d..acddbe7c11 100644
--- a/libs/gtkmm2ext/gtkmm2ext/gtk_ui.h
+++ b/libs/gtkmm2ext/gtkmm2ext/gtk_ui.h
@@ -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; }