use correct source for application name when labelling a window
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 12 Dec 2015 16:01:56 +0000 (11:01 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 12 Dec 2015 16:12:10 +0000 (11:12 -0500)
libs/gtkmm2ext/gtk_ui.cc

index 0c15e5e3ccb247ef8ebee60656ee1b57bfff5fee..ca4d6681dce46f567143396677576f586ff2c9d4 100644 (file)
@@ -704,7 +704,7 @@ UI::popup_error (const string& text)
 
        MessageDialog msg (text);
        msg.set_title (string_compose (_("I'm sorry %1, I can't do that"), g_get_user_name()));
-       msg.set_wmclass (X_("error"), name());
+       msg.set_wmclass (X_("error"), Glib::get_application_name());
        msg.set_position (WIN_POS_MOUSE);
        msg.run ();
 }