Group :: Graphical desktop/Other
RPM: lxde-lxpanel
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: lxpanel-taskbar-no-crash.patch
Download
Download
diff --git a/lxpanel/src/plugins/taskbar.c b/lxpanel/src/plugins/taskbar.c
index 68dfcee..23f6dbd 100644
--- a/lxpanel/src/plugins/taskbar.c
+++ b/lxpanel/src/plugins/taskbar.c
@@ -297,6 +297,7 @@ static void task_draw_label(Task * tk)
{
TaskClass * tc = tk->res_class;
gboolean bold_style = (((tk->entered_state) || (tk->flash_state)) && (tk->tb->flat_button));
+ if (!tk->tb) return;
if ((tk->tb->grouped_tasks) && (tc != NULL) && (tc->visible_task == tk) && (tc->visible_count > 1))
{
char * label = g_strdup_printf("(%d) %s", tc->visible_count, tc->visible_name);