dont save/load history. its slow and its stupid.
This commit is contained in:
parent
9c1438f17b
commit
07b38ba2c3
1 changed files with 2 additions and 2 deletions
|
@ -250,7 +250,7 @@ void history_startup()
|
||||||
history_path = g_strdup_printf("%s.%d", path, ob_screen);
|
history_path = g_strdup_printf("%s.%d", path, ob_screen);
|
||||||
g_free(path);
|
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);
|
dispatch_register(Event_Client_Destroy, (EventHandler)event, NULL);
|
||||||
}
|
}
|
||||||
|
@ -259,7 +259,7 @@ void history_shutdown()
|
||||||
{
|
{
|
||||||
GSList *it;
|
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) {
|
for (it = history_list; it != NULL; it = it->next) {
|
||||||
struct HistoryItem *hi = it->data;
|
struct HistoryItem *hi = it->data;
|
||||||
g_free(hi->name);
|
g_free(hi->name);
|
||||||
|
|
Loading…
Reference in a new issue