MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / UpdateClipboard

Function UpdateClipboard

Goldleaf/source/ui/ui_MainApplication.cpp:402–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 }
401
402 void UpdateClipboard(const std::string &path) {
403 SetClipboard(path);
404 g_MainApplication->ShowNotification(cfg::Strings.GetString(g_MainApplication->GetBrowserLayout()->GetExplorer()->IsFile(path) ? 257 : 258));
405 }
406
407}

Callers 2

OnFileSelectedMethod · 0.85
OnDirectorySelectedMethod · 0.85

Calls 4

SetClipboardFunction · 0.85
ShowNotificationMethod · 0.80
IsFileMethod · 0.45
GetExplorerMethod · 0.45

Tested by

no test coverage detected