Bug 768768 - Launch app from shell, close, then launch it from terminal results in no icon showing up in task bar in ubuntu; r=karlt

--HG--
extra : rebase_source : f44a483b2f927576cf87c858120826c007d6504f
This commit is contained in:
Marco Castelluccio 2012-07-13 11:27:49 -07:00
parent 2c24135695
commit 400344b1e5

View File

@ -139,7 +139,7 @@ bool GRELoadAndLaunch(const char* firefoxDir, const char* profile)
// DE can match our window to the correct launcher
char programClass[MAXPATHLEN];
snprintf(programClass, MAXPATHLEN, "owa-%s", profile);
gdk_set_program_class(programClass);
g_set_prgname(programClass);
// NOTE: The GRE has successfully loaded, so we can use XPCOM now
{ // Scope for any XPCOM stuff we create