You've already forked OneDriveGUI
mirror of
https://github.com/bpozdena/OneDriveGUI.git
synced 2026-10-24 04:59:17 +03:00
Added support for Display Manager Integration #252
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -11,3 +11,5 @@ OneDriveGUI.code-workspace
|
||||
AppDir/
|
||||
appimage-builder-cache/
|
||||
*.AppImage
|
||||
*.md
|
||||
!readme.md
|
||||
@@ -1,20 +0,0 @@
|
||||
# Installation steps
|
||||
|
||||
1) Ensure [OneDrive for Linux](https://abraunegg.github.io/) is installed based on [instructions](https://github.com/abraunegg/onedrive/blob/master/docs/install.md) for your distro.
|
||||
1) Ensure Python3 and [pip](https://pip.pypa.io/en/stable/installation/) are installed on your system.
|
||||
1) Clone or download content this repository.
|
||||
1) (Optional) Create and activate a Python virtual environment:
|
||||
```sh
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
```
|
||||
1) Install dependencies:
|
||||
```sh
|
||||
python3 -m pip install -r requirements.txt
|
||||
```
|
||||
|
||||
1) Start OneDrive GUI:
|
||||
```sh
|
||||
cd src/
|
||||
python3 OneDriveGUI.py
|
||||
```
|
||||
@@ -433,6 +433,7 @@ class ProfileSettingsPage(QWidget, Ui_profile_settings):
|
||||
self.pushButton_login.clicked.connect(lambda: main_window.main_window_instance.show_login(self.profile))
|
||||
self.pushButton_logout.clicked.connect(self.logout)
|
||||
self.checkBox_auto_sync.stateChanged.connect(self.set_check_box_state_profile)
|
||||
self.checkBox_display_manager_integration.stateChanged.connect(self.set_check_box_state)
|
||||
|
||||
## Recycle Bin group box
|
||||
self.checkBox_use_recycle_bin.stateChanged.connect(self.set_check_box_state)
|
||||
@@ -534,6 +535,7 @@ class ProfileSettingsPage(QWidget, Ui_profile_settings):
|
||||
self.config_dir = re.search(r"(.+)/.+$", self.config_file).group(1)
|
||||
self.pushButton_login.hide()
|
||||
self.checkBox_auto_sync.setChecked(self.get_check_box_state_profile("auto_sync"))
|
||||
self.checkBox_display_manager_integration.setChecked(self.get_check_box_state("display_manager_integration"))
|
||||
|
||||
# Sync List tab
|
||||
self.textEdit_sync_list.setText(self.read_sync_list())
|
||||
|
||||
@@ -53,3 +53,4 @@ recycle_bin_path = ""
|
||||
force_session_upload = "false"
|
||||
delay_inotify_processing = "false"
|
||||
inotify_delay = "5"
|
||||
display_manager_integration = "false"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user