=== modified file 'launcher/FileManagerLauncherIcon.cpp'
--- launcher/FileManagerLauncherIcon.cpp 2016-02-09 10:43:42 +0000
+++ launcher/FileManagerLauncherIcon.cpp 2016-02-17 14:51:25 +0000
@@ -67,6 +67,8 @@
icon_name = (icon.empty() ? DEFAULT_ICON : icon);
}));
+ g_print("%s: '%s'", G_STRFUNC, TRASH_PATH.c_str());
+ g_print("%s: '%s'", G_STRFUNC, TRASH_URI.c_str());
UpdateStorageWindows();
}
@@ -82,6 +84,7 @@
bool FileManagerLauncherIcon::IsLocationManaged(std::string const& location) const
{
+ g_print("%s: '%s'", G_STRFUNC, location.c_str());
if (location.empty())
return true;
@@ -112,7 +115,9 @@
for (auto const& app_win : ApplicationLauncherIcon::GetManagedWindows())
{
- if (IsLocationManaged(file_manager_->LocationForWindow(app_win)))
+ bool managed = IsLocationManaged(file_manager_->LocationForWindow(app_win));
+ g_print("%s: '%lu': %d", G_STRFUNC, app_win->window_id(),managed);
+ if (managed)
fm_windows.push_back(app_win);
}