From 6cf6f258ad800060172f733adbcc0568e724089d Mon Sep 17 00:00:00 2001 From: Wolfgang Noichl Date: Wed, 11 Aug 2021 13:35:53 +0200 Subject: [PATCH 1/2] Closes #2 --- src/tdp-provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tdp-provider.c b/src/tdp-provider.c index a908882..36fb235 100644 --- a/src/tdp-provider.c +++ b/src/tdp-provider.c @@ -258,7 +258,7 @@ static GList * tdp_provider_get_file_actions( g_free(line); } else if (status == G_IO_STATUS_AGAIN) { - break; + continue; } else if (status == G_IO_STATUS_ERROR) { break; From 75a245bcd1e6c2595a35b66d02170adc7c3cedba Mon Sep 17 00:00:00 2001 From: Wolfgang Noichl Date: Wed, 11 Aug 2021 13:39:04 +0200 Subject: [PATCH 2/2] Fixes wrong path of shared library in Ubuntu 20.04 at least --- CMakeLists.txt | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b97b812..5596011 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,6 @@ target_link_libraries(thunar-dropbox ${GIO_LIBRARIES}) # Installation install(TARGETS thunar-dropbox - DESTINATION "lib/thunarx-3") + DESTINATION "thunarx-3") install(FILES "data/icons/hicolor/16x16/apps/thunar-dropbox.png" DESTINATION "share/icons/hicolor/16x16/apps") \ No newline at end of file diff --git a/README.md b/README.md index 91263b3..a3aa036 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ The plugin is available in the repositories of most distributions, check it out ### From source - cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr . + cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr/lib . cmake --build build The first call to cmake configures the build system. The -B flag specifies the output directory, here _build_. The dot at the end is the path to the directory containing _CMakeLists.txt_.