diff options
author | Kevin Walzer <kw@codebykevin.com> | 2021-09-04 12:38:31 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2021-09-04 12:38:31 (GMT) |
commit | ff7a93ca80f796546f8d106a473ca70a3128f3e0 (patch) | |
tree | e85751f13e09b45e1e3c98a592434414c18dc908 /unix/tkUnixWm.c | |
parent | b5863d42cec89584671af8e12ba86e1faf644e82 (diff) | |
download | tk-ff7a93ca80f796546f8d106a473ca70a3128f3e0.zip tk-ff7a93ca80f796546f8d106a473ca70a3128f3e0.tar.gz tk-ff7a93ca80f796546f8d106a473ca70a3128f3e0.tar.bz2 |
Update error handling
Diffstat (limited to 'unix/tkUnixWm.c')
-rw-r--r-- | unix/tkUnixWm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c index 581c3cc..30d5090 100644 --- a/unix/tkUnixWm.c +++ b/unix/tkUnixWm.c @@ -2159,7 +2159,7 @@ WmIconbadgeCmd( Tcl_GetString(objv[2]), Tcl_GetString(objv[3])); if (Tcl_EvalEx(interp, cmd, -1, TCL_EVAL_DIRECT) != TCL_OK) { - Tcl_SetResult(interp,"Unable to set icon badge",TCL_VOLATILE); + Tcl_SetResult(interp,"You must set the value of \"::tk::icons::base_icon($win)\" to a Tk photo before setting an icon badge",TCL_VOLATILE); return TCL_ERROR; } return TCL_OK; |