mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Make ShareMode and ReceiveMode directories, and move ShareMode modules into its dir
This commit is contained in:
parent
4b957f3271
commit
a017af0748
@ -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):
|
@ -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
|
@ -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
|
@ -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.
|
Loading…
Reference in New Issue
Block a user