OSDN Git Service

Present the New Laptop Keyboard Layout dialog when NVDA starts if it hasn't been...
authorJames Teh <jamie@jantrid.net>
Mon, 4 Feb 2013 03:17:43 +0000 (13:17 +1000)
committerJames Teh <jamie@jantrid.net>
Mon, 4 Feb 2013 03:17:43 +0000 (13:17 +1000)
source/core.py

index 66da4f9..be55b31 100644 (file)
@@ -38,6 +38,9 @@ def doStartupDialogs():
                gui.messageBox(_("Your gesture map file contains errors.\n"\r
                                "More details about the errors can be found in the log file."),\r
                        _("gesture map File Error"), wx.OK|wx.ICON_EXCLAMATION)\r
+       if not config.conf["upgrade"]["newLaptopKeyboardLayout"]:\r
+               from gui import upgradeAlerts\r
+               upgradeAlerts.NewLaptopKeyboardLayout.run()\r
 \r
 def restart():\r
        """Restarts NVDA by starting a new copy with -r."""\r