GNOME Bugzilla – Bug 721952
some gedit gapplication cleanups
Last modified: 2014-01-11 05:52:02 UTC
Here are a couple of patches to improve the usability of gedit with the 'gapplication' commandline tool. The first patch allows the new-window action to be invoked with the tool. Before, it would say: $ gapplication action org.gnome.Gedit new_window invalid action name: 'new_window' The second patch allows the preferences dialog to be opened with the tool, even if gedit was not already running. It also ensures that new windows created while the preferences dialog is the only thing on the screen are created in the proper way.
Created attachment 265960 [details] [review] Rename app.new_window to app.new-window Underscores should not appear in action names.
Created attachment 265961 [details] [review] preferences: associate the window with the app This allows the app to stay open if the preferences window is open. Also, allow the preferences window to be created without a transient window for it to be associated with. Make sure we never return the preferences window as the active window.
Review of attachment 265960 [details] [review]: go ahead.
Review of attachment 265961 [details] [review]: Looks good.
Attachment 265960 [details] pushed as 6cc8d70 - Rename app.new_window to app.new-window Attachment 265961 [details] pushed as a5ad3ed - preferences: associate the window with the app