Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:Update
nitroshare
nitroshare-fix-caja.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nitroshare-fix-caja.patch of Package nitroshare
--- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -239,6 +239,11 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") # Configure and install Python extensions for Nautilus-derived file managers foreach(_file_manager Nautilus Nemo Caja) + if(${_file_manager} MATCHES "Caja") + set(_file_manager_ver "2.0") + else() + set(_file_manager_ver "3.0") + endif() string(TOLOWER ${_file_manager} _file_manager_lower) set(_py_filename "${CMAKE_CURRENT_BINARY_DIR}/dist/nitroshare_${_file_manager_lower}.py") configure_file("${CMAKE_CURRENT_SOURCE_DIR}/dist/nitroshare.py.in" "${_py_filename}") --- a/src/dist/nitroshare.py.in +++ b/src/dist/nitroshare.py.in @@ -32,7 +32,7 @@ from urlparse import urlparse import gi gi.require_version('Gtk', '3.0') -gi.require_version('${_file_manager}', '3.0') +gi.require_version('${_file_manager}', '${_file_manager_ver}') from gi.repository import ${_file_manager}, GObject, Gtk from requests import ConnectionError, post
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor