all repos — tint2 @ 64c1fc03f902089389e4266eed5908996f0e7709

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

Print error message for invalid action name in get_action()

git-svn-id: http://tint2.googlecode.com/svn/trunk@761 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
o9000 o9000
commit

64c1fc03f902089389e4266eed5908996f0e7709

parent

b78c854700a9486766880860d6f121ffee51c78e

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

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

@@ -110,6 +110,8 @@ else if (strcmp (event, "next_task") == 0)

*action = NEXT_TASK; else if (strcmp (event, "prev_task") == 0) *action = PREV_TASK; + else + fprintf(stderr, "Error: unrecognized action '%s'. Please fix your config file.\n", event); }