diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-03 21:38:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-03 21:38:07 -0700 |
commit | a6b9eaee0aa2ff67482560f4401e0dc6f2c79237 (patch) | |
tree | b01e2b548a7b6bdd451cc536af734ae5fff815df /save-xml.c | |
parent | c93867972675426ba6be8615220e127e4ee8d027 (diff) | |
download | subsurface-a6b9eaee0aa2ff67482560f4401e0dc6f2c79237.tar.gz |
Add 'Quit' menu item, and fix invisible "File" on gtk2
I didn't even notice that the "File" part of the file menu no longer
showed up, since the keyboard accelerator for ^S worked fine.. But
apparently there's no default label associated with GTK_STOCK_FILE in
gtk2, so the "File" text went away with the conversion to GtkUIManager
in commit 4d62478e14fe ("Use the newer GtkUIManager for menu creation.")
The addition of a Quit menu entry with the associated keyboard
accelerator also makes ^Q "just work".
Of course, if we actually tracked dirty state etc, we could perhaps ask
the user whether they wanted to save or something. But I'm not exactly
famous for my GUI chops, so ..
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'save-xml.c')
0 files changed, 0 insertions, 0 deletions