X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fconf-bindings.c;h=69d8996fac812e45cff7eb21fd86239dff611efd;hb=29aae1975d46f66b97a2b873f1875eded8c6fbc3;hp=c449a87cdbf740f3e4a69e1b80cca6dd9810d8ab;hpb=ae4260bb64817c11f9a7140324cd3e3ba113e297;p=ion3.git diff --git a/ioncore/conf-bindings.c b/ioncore/conf-bindings.c index c449a87..69d8996 100644 --- a/ioncore/conf-bindings.c +++ b/ioncore/conf-bindings.c @@ -1,7 +1,7 @@ /* * ion/ioncore/conf-bindings.c * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2008. * * See the included file LICENSE for details. */ @@ -20,6 +20,7 @@ #include #include "conf-bindings.h" #include "bindmaps.h" +#include "ioncore.h" /*{{{ parse_keybut */ @@ -94,7 +95,8 @@ bool ioncore_parse_keybut(const char *str, uint *mod_ret, uint *ksb_ret, break; } if(XKeysymToKeycode(ioncore_g.dpy, keysym)==0){ - warn_obj(str, TR("Could not convert keysym to keycode.")); + ioncore_warn_nolog("%s: %s", str, + TR("Could not convert keysym to keycode.")); break; } *ksb_ret=keysym; @@ -185,7 +187,7 @@ static bool do_action(WBindmap *bindmap, const char *str, binding.func=func; if(bindmap_remove_binding(bindmap, &binding)) return TRUE; - warn(TR("Unable to remove binding %s."), str); + /*warn(TR("Unable to remove binding %s."), str);*/ } return FALSE;