Move all of the normal onionshare logic into Tab, and make a new placeholder GUI for the main window

This commit is contained in:
Micah Lee 2019-10-20 22:08:47 -07:00
parent 940b89a30b
commit 1d903efeb2
14 changed files with 634 additions and 574 deletions

View file

@ -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": """