mirror of
https://git.freebsd.org/ports.git
synced 2025-07-03 02:20:33 -04:00
This is a taskbar panel plugin for xfce4, designed to mimic the look and functionality of docks and application bars used in Windows and MacOS. It includes optional features like window previews and launcher pinning. WWW: https://gitlab.xfce.org/panel-plugins/xfce4-docklike-plugin PR: 257692
20 lines
512 B
C++
20 lines
512 B
C++
--- src/Wnck.cpp.orig 2021-08-07 07:23:13 UTC
|
|
+++ src/Wnck.cpp
|
|
@@ -35,7 +35,7 @@ namespace Wnck
|
|
int nbr = read(fd, buffer, 512);
|
|
::close(fd);
|
|
|
|
- char* exe = basename(buffer);
|
|
+ char* exe = g_path_get_basename(buffer);
|
|
if (strcmp(exe, "python") != 0) // ADDIT graphical interpreters here
|
|
return exe;
|
|
|
|
@@ -44,7 +44,7 @@ namespace Wnck
|
|
;
|
|
|
|
if (it < buffer + nbr)
|
|
- return basename(it);
|
|
+ return g_path_get_basename(it);
|
|
}
|
|
|
|
// fallback : return window's name
|