Commit e5a5858a authored by Martin Kröning's avatar Martin Kröning

Add application id

parent 33368767
......@@ -18,14 +18,14 @@ void MapApplication::initGettext() {
Glib::RefPtr<Gtk::Application> MapApplication::application = []() {
initGettext();
return Gtk::Application::create();
return Gtk::Application::create("de.rwth_aachen.git.pi2.view");
}();
std::thread MapApplication::thread;
void MapApplication::addWindow(Gtk::Window &window) {
if (application->get_windows().empty()) {
thread = std::thread([&window]() {
application = Gtk::Application::create();
application = Gtk::Application::create("de.rwth_aachen.git.pi2.view");
application->run(window);
});
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment