gfio: move File->Open above File->Close
authorJens Axboe <axboe@kernel.dk>
Thu, 15 Mar 2012 12:46:16 +0000 (13:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 15 Mar 2012 12:46:16 +0000 (13:46 +0100)
This seems more logical and also what other apps do.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
gfio.c

diff --git a/gfio.c b/gfio.c
index 3ed5528..ffc6605 100644 (file)
--- a/gfio.c
+++ b/gfio.c
@@ -2847,9 +2847,9 @@ static const gchar *ui_string = " \
                <menubar name=\"MainMenu\"> \
                        <menu name=\"FileMenu\" action=\"FileMenuAction\"> \
                                <menuitem name=\"New\" action=\"NewFile\" /> \
+                               <menuitem name=\"Open\" action=\"OpenFile\" /> \
                                <menuitem name=\"Close\" action=\"CloseFile\" /> \
                                <separator name=\"Separator1\"/> \
-                               <menuitem name=\"Open\" action=\"OpenFile\" /> \
                                <menuitem name=\"Save\" action=\"SaveFile\" /> \
                                <separator name=\"Separator2\"/> \
                                <menuitem name=\"Preferences\" action=\"Preferences\" /> \