all repos — tint2 @ ccd590e397b1933ad240d612b089959769f46fbb

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

tint2conf: Workaround for a GTK quirk to prevent a crash when adding backgrounds
o9000 mrovi9000@gmail.com
commit

ccd590e397b1933ad240d612b089959769f46fbb

parent

4ee1e8f2fa492f1bf251689258fae3ce6b274ad0

1 files changed, 6 insertions(+), 6 deletions(-)

jump to
M src/tint2conf/properties.csrc/tint2conf/properties.c

@@ -735,6 +735,7 @@ bgColBorderColor, &borderColor,

bgColBorderOpacity, borderOpacity, bgColBorderWidth, b, bgColCornerRadius, r, + bgColText, "", bgColFillColorOver, &fillColorOver, bgColFillOpacityOver, fillOpacityOver, bgColBorderColorOver, &borderColorOver,

@@ -743,7 +744,6 @@ bgColFillColorPress, &fillColorPress,

bgColFillOpacityPress, fillOpacityPress, bgColBorderColorPress, &borderColorPress, bgColBorderOpacityPress, borderOpacityPress, - bgColText, "", -1); background_update_image(index);

@@ -805,6 +805,7 @@ bgColFillColor, fillColor,

bgColFillOpacity, fillOpacity, bgColBorderColor, borderColor, bgColBorderOpacity, borderOpacity, + bgColText, "", bgColFillColorOver, fillColorOver, bgColFillOpacityOver, fillOpacityOver, bgColBorderColorOver, borderColorOver,

@@ -815,7 +816,6 @@ bgColBorderColorPress, borderColorPress,

bgColBorderOpacityPress, borderOpacityPress, bgColBorderWidth, b, bgColCornerRadius, r, - bgColText, "" -1); g_boxed_free(GDK_TYPE_COLOR, fillColor); g_boxed_free(GDK_TYPE_COLOR, borderColor);

@@ -2080,9 +2080,9 @@ GtkTreeIter iter;

gtk_list_store_append(launcher_apps, &iter); gtk_list_store_set(launcher_apps, &iter, appsColIcon, pixbuf, + appsColIconName, g_strdup(iconName), appsColText, g_strdup(name), appsColPath, g_strdup(path), - appsColIconName, g_strdup(iconName), -1); if (pixbuf) g_object_unref(pixbuf);

@@ -2324,9 +2324,9 @@ GtkTreeIter iter;

gtk_list_store_insert(store, &iter, index); gtk_list_store_set(store, &iter, appsColIcon, pixbuf, + appsColIconName, g_strdup(entry.icon), appsColText, g_strdup(entry.name), appsColPath, g_strdup(file), - appsColIconName, g_strdup(entry.icon), -1); if (pixbuf) g_object_unref(pixbuf);

@@ -2337,9 +2337,9 @@ GtkTreeIter iter;

gtk_list_store_append(store, &iter); gtk_list_store_set(store, &iter, appsColIcon, pixbuf, + appsColIconName, g_strdup(""), appsColText, g_strdup(file), appsColPath, g_strdup(file), - appsColIconName, g_strdup(""), -1); if (pixbuf) g_object_unref(pixbuf);

@@ -2359,9 +2359,9 @@ GtkTreeIter iter;

gtk_list_store_append(selected ? launcher_apps : all_apps, &iter); gtk_list_store_set(selected ? launcher_apps :all_apps, &iter, appsColIcon, pixbuf, + appsColIconName, g_strdup(entry->icon), appsColText, g_strdup(entry->name), appsColPath, g_strdup(entry->path), - appsColIconName, g_strdup(entry->icon), -1); if (pixbuf) g_object_unref(pixbuf);