mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-12 11:22:14 -04:00
Make ShareMode and ReceiveMode directories, and move ShareMode modules into its dir
This commit is contained in:
parent
4b957f3271
commit
a017af0748
5 changed files with 6 additions and 5 deletions
|
@ -29,8 +29,8 @@ from onionshare.onion import *
|
|||
from .file_selection import FileSelection
|
||||
from .server_status import ServerStatus
|
||||
from .downloads import Downloads
|
||||
from .onion_thread import OnionThread
|
||||
from .alert import Alert
|
||||
from ..onion_thread import OnionThread
|
||||
from ..alert import Alert
|
||||
|
||||
|
||||
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/>.
|
||||
"""
|
||||
import time
|
||||
|
||||
from PyQt5 import QtCore, QtWidgets, QtGui
|
||||
|
||||
from onionshare import strings
|
|
@ -19,10 +19,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
"""
|
||||
import os
|
||||
from PyQt5 import QtCore, QtWidgets, QtGui
|
||||
from .alert import Alert
|
||||
|
||||
from onionshare import strings
|
||||
|
||||
from ..alert import Alert
|
||||
|
||||
class DropHereLabel(QtWidgets.QLabel):
|
||||
"""
|
||||
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/>.
|
||||
"""
|
||||
import platform
|
||||
from .alert import Alert
|
||||
from PyQt5 import QtCore, QtWidgets, QtGui
|
||||
|
||||
from onionshare import strings
|
||||
|
||||
from ..alert import Alert
|
||||
|
||||
class ServerStatus(QtWidgets.QWidget):
|
||||
"""
|
||||
The server status chunk of the GUI.
|
Loading…
Add table
Add a link
Reference in a new issue