Make ShareMode and ReceiveMode directories, and move ShareMode modules into its dir

This commit is contained in:
Micah Lee 2018-04-24 17:26:54 -07:00
parent 4b957f3271
commit a017af0748
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
5 changed files with 6 additions and 5 deletions

View File

@ -29,8 +29,8 @@ from onionshare.onion import *
from .file_selection import FileSelection from .file_selection import FileSelection
from .server_status import ServerStatus from .server_status import ServerStatus
from .downloads import Downloads from .downloads import Downloads
from .onion_thread import OnionThread from ..onion_thread import OnionThread
from .alert import Alert from ..alert import Alert
class ShareMode(QtWidgets.QWidget): class ShareMode(QtWidgets.QWidget):

View File

@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
""" """
import time import time
from PyQt5 import QtCore, QtWidgets, QtGui from PyQt5 import QtCore, QtWidgets, QtGui
from onionshare import strings from onionshare import strings

View File

@ -19,10 +19,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
""" """
import os import os
from PyQt5 import QtCore, QtWidgets, QtGui from PyQt5 import QtCore, QtWidgets, QtGui
from .alert import Alert
from onionshare import strings from onionshare import strings
from ..alert import Alert
class DropHereLabel(QtWidgets.QLabel): class DropHereLabel(QtWidgets.QLabel):
""" """
When there are no files or folders in the FileList yet, display the When there are no files or folders in the FileList yet, display the

View File

@ -18,11 +18,12 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
""" """
import platform import platform
from .alert import Alert
from PyQt5 import QtCore, QtWidgets, QtGui from PyQt5 import QtCore, QtWidgets, QtGui
from onionshare import strings from onionshare import strings
from ..alert import Alert
class ServerStatus(QtWidgets.QWidget): class ServerStatus(QtWidgets.QWidget):
""" """
The server status chunk of the GUI. The server status chunk of the GUI.