Rename OnionShareGui to MainWindow

This commit is contained in:
Micah Lee 2019-10-20 19:41:20 -07:00
parent 30949cf196
commit 4f2ce99417
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
5 changed files with 22 additions and 22 deletions

View file

@ -11,7 +11,7 @@ from onionshare.common import Common
from onionshare.settings import Settings
from onionshare.onion import Onion
from onionshare.web import Web
from onionshare_gui import Application, OnionShare, OnionShareGui
from onionshare_gui import Application, OnionShare, MainWindow
from onionshare_gui.mode.share_mode import ShareMode
from onionshare_gui.mode.receive_mode import ReceiveMode
from onionshare_gui.mode.website_mode import WebsiteMode
@ -53,7 +53,7 @@ class GuiBaseTest(object):
web = Web(common, False, True)
open("/tmp/settings.json", "w").write(json.dumps(test_settings))
gui = OnionShareGui(
gui = MainWindow(
common,
testonion,
qtapp,

View file

@ -10,7 +10,7 @@ from onionshare.common import Common
from onionshare.settings import Settings
from onionshare.onion import Onion
from onionshare.web import Web
from onionshare_gui import Application, OnionShare, OnionShareGui
from onionshare_gui import Application, OnionShare, MainWindow
from .GuiShareTest import GuiShareTest
@ -45,7 +45,7 @@ class GuiWebsiteTest(GuiShareTest):
web = Web(common, False, True)
open("/tmp/settings.json", "w").write(json.dumps(test_settings))
gui = OnionShareGui(
gui = MainWindow(
common,
testonion,
qtapp,

View file

@ -10,7 +10,7 @@ from onionshare.common import Common
from onionshare.settings import Settings
from onionshare.onion import Onion
from onionshare.web import Web
from onionshare_gui import Application, OnionShare, OnionShareGui
from onionshare_gui import Application, OnionShare, MainWindow
from onionshare_gui.mode.share_mode import ShareMode
from onionshare_gui.mode.receive_mode import ReceiveMode
@ -54,7 +54,7 @@ class TorGuiBaseTest(GuiBaseTest):
web = Web(common, False, False)
open("/tmp/settings.json", "w").write(json.dumps(test_settings))
gui = OnionShareGui(
gui = MainWindow(
common,
testonion,
qtapp,