Fix:core:Reverted popup debug change because of a massive slowdown
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 14 Jan 2009 13:14:40 +0000 (13:14 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 14 Jan 2009 13:14:40 +0000 (13:14 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@1946 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit.xml
navit/popup.c

index f27328a..3e74d53 100644 (file)
@@ -11,8 +11,8 @@
     </plugins>
 
     <debug name="navit:do_draw" level="0"/>
-       <!-- This is here so one can copy&paste the contents of popup menus --> 
-       <debug name="navit:popup_printf_cb" level="1"/>
+    <!-- This is here so one can copy&paste the contents of popup menus --> 
+    <debug name="navit:popup_printf_cb" level="0"/>
     <!-- segv: 1 - show backtrace with gdb and exit, 2 - stay in gdb -->
     <debug name="segv" level="1"/>
     <!-- timestamps 0/1 - prefix log messages with a timestamp -->
index acef54d..b277988 100644 (file)
@@ -130,7 +130,7 @@ popup_printf_cb(void *menu, enum menu_type type, struct callback *cb, const char
 
        va_start(ap, fmt);
        str=g_strdup_vprintf(fmt, ap);
-       dbg(1,"%s\n", str);
+       dbg(0,"%s\n", str);
        ret=menu_add(menu, str, type, cb);
        va_end(ap);
        g_free(str);