mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 14:36:15 -04:00
Rename OnionShareGui to MainWindow
This commit is contained in:
parent
30949cf196
commit
4f2ce99417
5 changed files with 22 additions and 22 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue