I'd refactor this method to first check for !status (and the "interact == GNOME_INTERACT_ANY" check within that) and return early to avoid the extra indentation.
You should probably have someone who knows the GNOME session support API better than I at least take a look at this. Addressing Myk's comment would be nice, but probably shouldn't block landing this. You might want to look into what the EM_RESTART code does to persist command line arguments.
Comment on attachment 300762
Patch 2
>Index: toolkit/ xre/nsNativeApp SupportUnix. cpp
> gboolean save_yourself_ cb(GnomeClient *client, gint phase,
>+ nsCOMPtr< nsISupportsPRBo ol> didSaveSession = ce(NS_SUPPORTS_ PRBOOL_ CONTRACTID) ;
>+ do_CreateInstan
Check for oom?
I'd refactor this method to first check for !status (and the "interact == GNOME_INTERACT_ANY" check within that) and return early to avoid the extra indentation.
You should probably have someone who knows the GNOME session support API better than I at least take a look at this. Addressing Myk's comment would be nice, but probably shouldn't block landing this. You might want to look into what the EM_RESTART code does to persist command line arguments.