-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Removed redundant "Exclude" and "Copy" menu options in LogViewDialog #1672
Closed
Closed
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
30e7c5c
LogViewDialog: Remove redundant "Exclude" and "Copy" menu options
vozellad c96e776
Merge branch 'bit-team:dev' into dev
T1petitti fbee763
(In Progress) Add to ShutDown class ability to either shutdown, hiber…
vozellad 313acc8
(In Progress) Add to ShutDown class a function to get the user-distro…
vozellad cb1b3ab
added button for sleep/hibernate
c18walsh f632409
Implemented suspend functionality when activate_suspend is enabled, a…
T1petitti 9a20db3
added button for sleep/hibernate
c18walsh 4a7b4f9
(In Progress) Remove hibernate. Add setting computer to suspend in ne…
vozellad fb7246d
Take from suspend_implementation branch
vozellad 9bb9695
Add code to suspend, except it still doesn't do it
vozellad 069dbcd
Add Preferences menubar item
vozellad bf26b6b
Make new menubar item checkable
vozellad 0d377a2
Rename show_icon_text to show_toolbar_text. Un-nest nested if statement.
vozellad f7a5130
(In progress) Add option to use text instead of icon
vozellad 4f21dd9
Merge remote-tracking branch 'refs/remotes/origin/suspend_implementat…
T1petitti 1360df6
Merge remote-tracking branch 'refs/remotes/origin/Adding-choices-for-…
T1petitti 2d2dfa0
Merging icon work / method option work / suspend feature work
T1petitti 1ea7246
When saving snapshot, will suspend or shutdown if manually changing D…
T1petitti 6ae2456
Add member variable list of actions to use in rest of class
vozellad 0239779
Add icon-text switch functionality
vozellad 006c769
Both Shutdown and Suspend Trigger first DBUS method
T1petitti a95605a
Changed proxy method to Suspend when suspend triggered, Shutdown prox…
T1petitti b67f3b5
Disables shutdown when suspend is enabled and vice versa
T1petitti 84927cb
Remember "show toolbar text" toggle with stored file
vozellad ef4836e
Access widgets in toolbar's actions to set their icons
vozellad d39bf3c
Viewing snapshots does not change text back to icon
vozellad 58116eb
Add comments
vozellad c0bd8b8
Add unit-testing (in-progress)
vozellad a283405
Resourced free_space from snapshots class to create gui indicator of …
T1petitti 8ab4ce5
Merge pull request #1 from T1petitti/master
vozellad 70f3b68
Change suspend action tooltip text to be more accurate and match the …
vozellad d1cad3b
Add suspend QAction to menubar
vozellad 365c1b3
Remove outdated commented code
vozellad 344a37d
Horizontally align line of code with surrounding lines
vozellad 56c7ef6
Only show suspend button when user's desktop environment can suspend
vozellad 5cf00f9
Add available suspend keyword for e17 desktop environment
vozellad a782ee8
Gnome doesn't use any 'Suspend' keyword, so accommodate for that
vozellad 4a96d13
Gnome doesn't support suspending in this way, so remove the ability f…
vozellad 97d8475
Remove redundant comment
vozellad 765dd6f
Make variable name more descriptive
vozellad 796b749
Merge branch 'dev' into Give-option-to-display-text-in-toolbar-items
vozellad 0dbb000
Merge pull request #2 from T1petitti/Give-option-to-display-text-in-t…
vozellad 82f5ddf
'toolbar' is a class variable now. Correct code that doesn't use it t…
vozellad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to me that only the entry "Decode" is left in this context menu. This is visible only when the current snapshot profile use encryption (EncFS).
So I propose to add the check
self.config.snapshotsMode() == 'ssh_encfs'
to line 147 where the context menu trigger is installed. It should be installed only when there is a encrypted (encfs) snapshot profile.Side note: What confuses me is that the check is only for
ssh_encfs
and not alsolocal_encfs
. Maybe you can check this out if there is a good reason for this? But be aware that we plan to remove (replace) encfs in the long run (#1549). So don't invest to much resources into this encfs-thing.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi. I worked with T1petitti in a group of 3. The Decode option does not come up graphically because the context menu does not appear either, which is why we didn't think we needed to change anything involving the Decode feature, but moving the condition to before the context menu is created instead of after is something we can do.
3bc25fa
This commit by @Germar is where it got added. It does not say why it got added.
Is it possible 'local_encfs' does not have a decode option because local file-paths, not through ssh, do not need to be decoded?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! 🚀 A team of three. 🤟
I don't use EncFS and so I don't know the details. Might it be possible that you can give it a short test: Create one "locale (encrypted)" and "SSH (encrypted)" profile and then check this feature?