FreeBSD Bugzilla – Attachment 216426 Details for
Bug 247960
x11/xfce4-taskmanager: Sometimes processes are not removed from list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
xfce4-taskmanager_3.patch (text/plain), 1.38 KB, created by
Ivan Rozhuk
on 2020-07-14 04:45:02 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2020-07-14 04:45:02 UTC
Size:
1.38 KB
patch
obsolete
>Index: x11/xfce4-taskmanager/Makefile >=================================================================== >--- x11/xfce4-taskmanager/Makefile (revision 542128) >+++ x11/xfce4-taskmanager/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= xfce4-taskmanager > PORTVERSION= 1.2.3 >+PORTREVISION= 1 > CATEGORIES= x11 xfce > MASTER_SITES= XFCE/apps > DIST_SUBDIR= xfce4 >Index: x11/xfce4-taskmanager/files/patch-src_task-manager.c >=================================================================== >--- x11/xfce4-taskmanager/files/patch-src_task-manager.c (nonexistent) >+++ x11/xfce4-taskmanager/files/patch-src_task-manager.c (working copy) >@@ -0,0 +1,18 @@ >+--- src/task-manager.c.orig 2019-12-09 09:12:44 UTC >++++ src/task-manager.c >+@@ -432,10 +432,12 @@ xtm_task_manager_update_model (XtmTaskManager *manager >+ gtk_tree_model_get (manager->model, &cur_iter, XTM_PTV_COLUMN_CPU_STR, &cpu_str, XTM_PTV_COLUMN_TIMESTAMP, &old_timestamp, XTM_PTV_COLUMN_PID, &pid, -1); >+ found = (g_strcmp0 (cpu_str, "-") == 0); >+ g_free (cpu_str); >+- if (found && (timestamp - old_timestamp) > TIMESTAMP_DELTA) >++ if (found) >+ { >+- G_DEBUG_FMT ("Remove old task %d", pid); >+- model_remove_tree_iter (manager->model, &cur_iter); >++ if ((timestamp - old_timestamp) > TIMESTAMP_DELTA) { >++ G_DEBUG_FMT ("Remove old task %d", pid); >++ model_remove_tree_iter (manager->model, &cur_iter); >++ } >+ continue; >+ } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 247960
: 216426