Mercurial > pidgin.yaz
comparison pidgin/gtklog.c @ 21082:a1d0d2887a15
Not a clean diff
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Tue, 09 Oct 2007 20:56:36 +0000 |
parents | 96612191ded8 |
children | 7821fa7b22db |
comparison
equal
deleted
inserted
replaced
21081:7d6e7b8bd4ed | 21082:a1d0d2887a15 |
---|---|
779 title = g_strdup_printf(_("Conversations with %s"), name); | 779 title = g_strdup_printf(_("Conversations with %s"), name); |
780 display_log_viewer(ht, logs, title, image, total_log_size); | 780 display_log_viewer(ht, logs, title, image, total_log_size); |
781 g_free(title); | 781 g_free(title); |
782 } | 782 } |
783 | 783 |
784 void pidgin_syslog_show(void) | 784 void pidgin_syslog_show() |
785 { | |
786 pidgin_syslog_show_with_parent(NULL); | |
787 } | |
788 | |
789 void pidgin_syslog_show_with_parent(GtkWindow *parent) | |
790 { | 785 { |
791 GList *accounts = NULL; | 786 GList *accounts = NULL; |
792 GList *logs = NULL; | 787 GList *logs = NULL; |
793 | 788 |
794 if (syslog_viewer != NULL) { | 789 if (syslog_viewer != NULL) { |
804 | 799 |
805 logs = g_list_concat(purple_log_get_system_logs(account), logs); | 800 logs = g_list_concat(purple_log_get_system_logs(account), logs); |
806 } | 801 } |
807 logs = g_list_sort(logs, purple_log_compare); | 802 logs = g_list_sort(logs, purple_log_compare); |
808 | 803 |
809 syslog_viewer = display_log_viewer(parent, NULL, logs, _("System Log"), NULL, 0); | 804 syslog_viewer = display_log_viewer(NULL, logs, _("System Log"), NULL, 0); |
810 } | 805 } |
811 | 806 |
812 /**************************************************************************** | 807 /**************************************************************************** |
813 * GTK+ LOG SUBSYSTEM ******************************************************* | 808 * GTK+ LOG SUBSYSTEM ******************************************************* |
814 ****************************************************************************/ | 809 ****************************************************************************/ |