Commit Graph

19 Commits

Author SHA1 Message Date
Micah Lee
1bca467ce3
When disabling persistence, or closing a persistent tab, delete the mode settings file for that tab 2019-11-02 23:06:26 -07:00
Micah Lee
7819a894be
Make it so when you open the GUI, all of the persistent tabs automatically open as well 2019-11-02 22:55:22 -07:00
Micah Lee
a5f8fee065
Starting to make persistent tabs persistent 2019-11-02 21:45:55 -07:00
Micah Lee
01435d1eda
Move autostart and autostop timer widgets into the mode settings widget 2019-11-02 19:03:37 -07:00
Micah Lee
9f920f4353
Move mode settings widget into the primary action layout, and tweak window size 2019-11-02 18:29:24 -07:00
Micah Lee
f04452777d
Show and hide autostart/autostop timer widgets when the mode settings are toggled 2019-11-02 18:08:14 -07:00
Micah Lee
ed1c3e1bc8
Refactor ServerStatus to use mode settings 2019-11-02 17:39:27 -07:00
Micah Lee
12a1d73f91
Make the Web object load from mode settings instead of global settings 2019-11-02 14:35:51 -07:00
Micah Lee
c426cfceb2
Rename mode_settings_widget to be more clear, and fix one place that was still using tab_settings 2019-11-02 11:43:05 -07:00
Micah Lee
9534a44051
Make a new ModeSettings class in onionshare, and use this instead of tab_settings 2019-11-02 10:43:20 -07:00
Micah Lee
2984577f28
Get/set tab settings using a getter and setter function 2019-11-02 10:24:12 -07:00
Micah Lee
f2d4bddc23
When any setting is changed, update the tab settings dict 2019-11-02 10:15:18 -07:00
Micah Lee
555ae9114f
Make checking the persistent checkbox update the mode_settings dict, so closing tabs will catch that it's persistent 2019-10-27 18:48:25 -07:00
Micah Lee
b017b3268c
Make the persistent button an image label instead, and only show it whne the persistent checkbox is checked 2019-10-27 18:41:24 -07:00
Micah Lee
5e93b50f9c
Show mode settings above the columns in each mode, instead of as part of the main column 2019-10-27 18:21:04 -07:00
Micah Lee
784d6e8144
Show settings at the top of each mode, both mode-specific settings and setting that exist for all mode types 2019-10-27 18:16:48 -07:00
Micah Lee
cb83fca6bc
Add purple headers to each mode 2019-10-27 15:21:46 -07:00
Micah Lee
6449e5183e
Add a single tab, and fix several issues with moving all the tab code into its own object 2019-10-26 21:14:47 -07:00
Micah Lee
c77db82e67
Move all of the normal onionshare logic into Tab, and make a new placeholder GUI for the main window 2019-10-20 22:08:47 -07:00