mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Merge pull request #260 from zandimna/patch-1
Change the order of elements on the window title
This commit is contained in:
commit
9396d74bf6
1 changed files with 2 additions and 2 deletions
|
@ -248,7 +248,7 @@ close the profile or restart Anki."""))
|
||||||
restoreGeom(self, "mainWindow")
|
restoreGeom(self, "mainWindow")
|
||||||
restoreState(self, "mainWindow")
|
restoreState(self, "mainWindow")
|
||||||
# titlebar
|
# titlebar
|
||||||
self.setWindowTitle("Anki - " + self.pm.name)
|
self.setWindowTitle(self.pm.name + " - Anki")
|
||||||
# show and raise window for osx
|
# show and raise window for osx
|
||||||
self.show()
|
self.show()
|
||||||
self.activateWindow()
|
self.activateWindow()
|
||||||
|
@ -1300,4 +1300,4 @@ Please ensure a profile is open and Anki is not busy, then try again."""),
|
||||||
return '<base href="%s">' % self.serverURL()
|
return '<base href="%s">' % self.serverURL()
|
||||||
|
|
||||||
def serverURL(self):
|
def serverURL(self):
|
||||||
return "http://127.0.0.1:%d/" % self.mediaServer.getPort()
|
return "http://127.0.0.1:%d/" % self.mediaServer.getPort()
|
||||||
|
|
Loading…
Reference in a new issue