all repos — tint2 @ 9018313fb26fe1f95166c358bee78731f9efb0a3

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

Print error message if default_icon.png cannot be loaded (issue #574)
o9000 mrovi9000@gmail.com
commit

9018313fb26fe1f95166c358bee78731f9efb0a3

parent

92b391a1b258c63a3420771251a74e8c7d65e7a2

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M src/tint.csrc/tint.c

@@ -505,6 +505,11 @@ if (g_file_test(path, G_FILE_TEST_EXISTS))

default_icon = imlib_load_image(path); g_free(path); } + if (!default_icon) { + fprintf(stderr, + RED "Could not load default_icon.png. Please check that tint2 has been installed correctly!" RESET + "\n"); + } } void cleanup()