GNOME Bugzilla – Bug 740350
Do not recreate the main window if present.
Last modified: 2014-11-20 02:51:31 UTC
When activating the application we should not recreate the main window if it is already there, instead we should present it. I ran into this while trying to activate the action show-location from Maps.
Created attachment 290966 [details] [review] main: Do not recreate window when present On activate and on actions we should not recreate the main window instead we should present it if it is already created.
The reason gnome-weather creates a new window is intentional: we're not a single window app, in the current design. Part of it was that gnome-shell would be showing a "New window" menu item anyway (which was fixed), part of it was a deliberate design decision on my part. But let's continue this conversation on the other bug. *** This bug has been marked as a duplicate of bug 711850 ***