mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-09 09:55:00 -04:00
Move all of the normal onionshare logic into Tab, and make a new placeholder GUI for the main window
This commit is contained in:
parent
940b89a30b
commit
1d903efeb2
14 changed files with 634 additions and 574 deletions
|
@ -18,6 +18,7 @@ You should have received a copy of the GNU General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
from onionshare import strings
|
||||
from onionshare.onion import Onion
|
||||
|
||||
|
||||
class GuiCommon:
|
||||
|
@ -44,6 +45,9 @@ class GuiCommon:
|
|||
# Load strings
|
||||
strings.load_strings(self.common)
|
||||
|
||||
# Start the Onion
|
||||
self.onion = Onion(common)
|
||||
|
||||
self.css = {
|
||||
# OnionShareGui styles
|
||||
"mode_switcher_selected_style": """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue