mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
Show "Enable uTP" checkbox in preferences if supported (GTK client) (#4349)
Broken with switch to CMake. Ideally, need an API/RPC method to request core capabilities to support remote sessions.
This commit is contained in:
@@ -196,6 +196,10 @@ add_definitions(
|
||||
${GTK${GTK_VERSION}_CFLAGS_OTHER}
|
||||
)
|
||||
|
||||
if(ENABLE_UTP)
|
||||
add_definitions(-DWITH_UTP)
|
||||
endif()
|
||||
|
||||
if(WITH_APPINDICATOR)
|
||||
set_property(SOURCE SystemTrayIcon.cc APPEND PROPERTY COMPILE_DEFINITIONS HAVE_APPINDICATOR)
|
||||
if(APPINDICATOR_IS_AYATANA)
|
||||
|
||||
Reference in New Issue
Block a user