Skip to content
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: Nautilus integration conflicts with ownCloud #6418

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mammo0
Copy link

@mammo0 mammo0 commented Feb 6, 2024

Hello,

today I stumbled across issue #3803.

After some testing I found out that the culprit are the two Python classes MenuExtension_ownCloud and SyncStateExtension_ownCloud. They are defined by the Nextcloud and the ownCloud integration.

If the names are changed to something else, like MenuExtension_Nextcloud, then both integrations are working again.

Since you are using the code from the ownCloud integration (https://github.com/owncloud/client-desktop-shell-integration-nautilus), the names of the classes should normally be changed by the setappname.sh script. But this name is branded to "Nextcloud" in this repository. This means the "ownCloud" strings in the integration (syncstate.py) won't get replaced. So I changed the branding back to "ownCloud" and now the strings are correctly replaced during the Cmake build process.

Copy link
Collaborator

@mgallien mgallien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mammo0 thanks for your contribution
please have a look at my comment and tell me if there is anything unclear or if I can help
it is really nice to see effort being made to solve #3803

shell_integration/nautilus/setappname.sh Outdated Show resolved Hide resolved
@mammo0
Copy link
Author

mammo0 commented Feb 17, 2024

@mgallien Did you see my comment?

@claucambra claucambra self-requested a review March 5, 2024 03:49
@mammo0 mammo0 requested a review from mgallien April 18, 2024 15:49
@joshtrichards joshtrichards linked an issue Aug 14, 2024 that may be closed by this pull request
@joshtrichards joshtrichards changed the title Fix for #3803 fix: Nautilus integration conflicts with ownCloud Aug 14, 2024
-> fixes conflicts with the ownCloud extension

Signed-off-by: mammo0 <marc.ammon@hotmail.de>
@mammo0
Copy link
Author

mammo0 commented Dec 20, 2024

Hello @mgallien,
I removed all ownCloud references in the syncstate.py file (except in the Copyright block at the beginning).

@Rello Rello added this to the 3.16.0 milestone Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nautilus integration conflicts with ownCloud
5 participants