| 502 PurpleLog *log = logs->data; |
502 PurpleLog *log = logs->data; |
| 503 |
503 |
| 504 month = purple_utf8_strftime(_("%B %Y"), |
504 month = purple_utf8_strftime(_("%B %Y"), |
| 505 log->tm ? log->tm : localtime(&log->time)); |
505 log->tm ? log->tm : localtime(&log->time)); |
| 506 |
506 |
| 507 if (strcmp(month, prev_top_month) != 0) |
507 if (!purple_strequal(month, prev_top_month)) |
| 508 { |
508 { |
| 509 /* top level */ |
509 /* top level */ |
| 510 gtk_tree_store_append(lv->treestore, &toplevel, NULL); |
510 gtk_tree_store_append(lv->treestore, &toplevel, NULL); |
| 511 gtk_tree_store_set(lv->treestore, &toplevel, 0, month, 1, NULL, -1); |
511 gtk_tree_store_set(lv->treestore, &toplevel, 0, month, 1, NULL, -1); |
| 512 |
512 |