X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=plugins%2Fplacement%2Fhistory.c;h=7203fe119378236bb4fd00cfc17291a845dfe438;hb=f7eb47dba4b091b67a28404ce461b15dffcb4298;hp=27efa677c526e84fea2613b8fc9d19d6d0684795;hpb=0e69ae2b96fb4dd7435ebe15645d1384d11a3ef7;p=chaz%2Fopenbox diff --git a/plugins/placement/history.c b/plugins/placement/history.c index 27efa677..7203fe11 100644 --- a/plugins/placement/history.c +++ b/plugins/placement/history.c @@ -1,3 +1,4 @@ +#include "kernel/debug.h" #include "kernel/openbox.h" #include "kernel/dispatch.h" #include "kernel/frame.h" @@ -145,7 +146,7 @@ static void save_history() for (it = history_list; it; it = g_slist_next(it)) { struct HistoryItem *hi = it->data; - g_message("adding %s", hi->name); + ob_debug("adding %s\n", hi->name); node = xmlNewChild(root, NULL, (const xmlChar*) "entry", NULL); xmlNewProp(node, (const xmlChar*) "name", (const xmlChar*) hi->name); xmlNewProp(node, (const xmlChar*) "class", (const xmlChar*) hi->class); @@ -249,7 +250,7 @@ void history_startup() history_path = g_strdup_printf("%s.%d", path, ob_screen); g_free(path); - load_history(); /* load from the historydb file */ + /*load_history(); /\* load from the historydb file */ dispatch_register(Event_Client_Destroy, (EventHandler)event, NULL); } @@ -258,7 +259,7 @@ void history_shutdown() { GSList *it; - save_history(); /* save to the historydb file */ + /*save_history(); /\* save to the historydb file */ for (it = history_list; it != NULL; it = it->next) { struct HistoryItem *hi = it->data; g_free(hi->name);