diff mainwindow.cpp @ 339:8b244f3b3111

Change open repo dialog button ordering from remote-local-file to local-file-remote, because file is the most usual first-user choice (put local at left instead of right so as to make it second most obvious)
author Chris Cannam
date Tue, 15 Mar 2011 11:45:53 +0000
parents 697d7d75eae5
children bb189827f6d1 5bf78b23eb10
line wrap: on
line diff
--- a/mainwindow.cpp	Mon Mar 14 11:45:23 2011 +0000
+++ b/mainwindow.cpp	Tue Mar 15 11:45:53 2011 +0000
@@ -1055,21 +1055,21 @@
                                 tr("<qt><big>What would you like to open?</big></qt>"),
                                 this);
 
+        d->addChoice("local",
+                     tr("<qt><center><img src=\":images/hglogo-64.png\"><br>Local repository</center></qt>"),
+                     tr("Open an existing local Mercurial repository."),
+                     MultiChoiceDialog::DirectoryArg);
+
+        d->addChoice("init",
+                     tr("<qt><center><img src=\":images/hdd_unmount-64.png\"><br>File folder</center></qt>"),
+                     tr("Open a local folder, by creating a Mercurial repository in it."),
+                     MultiChoiceDialog::DirectoryArg);
+
         d->addChoice("remote",
                      tr("<qt><center><img src=\":images/browser-64.png\"><br>Remote repository</center></qt>"),
                      tr("Open a remote Mercurial repository, by cloning from its URL into a local folder."),
                      MultiChoiceDialog::UrlToDirectoryArg);
 
-        d->addChoice("local",
-                     tr("<qt><center><img src=\":images/hglogo-64.png\"><br>Local repository</center></qt>"),
-                     tr("Open an existing local Mercurial repository."),
-                     MultiChoiceDialog::DirectoryArg);
-
-        d->addChoice("init",
-                     tr("<qt><center><img src=\":images/hdd_unmount-64.png\"><br>File folder</center></qt>"),
-                     tr("Open a local folder, by creating a Mercurial repository in it."),
-                     MultiChoiceDialog::DirectoryArg);
-
         QSettings settings;
         settings.beginGroup("General");
         QString lastChoice = settings.value("lastopentype", "local").toString();