mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-03 23:15:18 -04:00
Add a menu bar, with a stub for Settings, and Quit
This commit is contained in:
parent
5328f339f0
commit
00b0ce443c
3 changed files with 56 additions and 1 deletions
|
@ -25,6 +25,7 @@ from PyQt5.QtCore import pyqtSlot
|
|||
import onionshare
|
||||
from onionshare import strings, helpers, web
|
||||
|
||||
from .menu import Menu
|
||||
from .file_selection import FileSelection
|
||||
from .server_status import ServerStatus
|
||||
from .downloads import Downloads
|
||||
|
@ -70,6 +71,9 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
|||
self.setWindowTitle('OnionShare')
|
||||
self.setWindowIcon(window_icon)
|
||||
|
||||
# the menu bar
|
||||
self.setMenuBar(Menu())
|
||||
|
||||
def send_files(self, filenames=None):
|
||||
"""
|
||||
Build the GUI in send files mode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue