comparison pidgin/gtkblist.c @ 19879:9c091f83c185

Adding syslog + compile fixes
author Gabriel Schulhof <nix@go-nix.ca>
date Fri, 17 Aug 2007 22:55:15 +0000
parents 9474223e534b
children 8cef5a905bc5
comparison
equal deleted inserted replaced
19878:e19a9e7cf15d 19879:9c091f83c185
516 pidgin_log_show(GTK_WINDOW(gtkblist->window), type, name, account); 516 pidgin_log_show(GTK_WINDOW(gtkblist->window), type, name, account);
517 g_free(name); 517 g_free(name);
518 518
519 pidgin_clear_cursor(gtkblist->window); 519 pidgin_clear_cursor(gtkblist->window);
520 } 520 }
521 }
522
523 static void gtk_blist_show_systemlog_cb()
524 {
525 pidgin_syslog_show();
526 } 521 }
527 522
528 static void gtk_blist_show_onlinehelp_cb() 523 static void gtk_blist_show_onlinehelp_cb()
529 { 524 {
530 purple_notify_uri(NULL, PURPLE_WEBSITE "documentation"); 525 purple_notify_uri(NULL, PURPLE_WEBSITE "documentation");
2881 { N_("/Tools/Pr_eferences"), "<CTL>P", pidgin_prefs_show, 0, "<StockItem>", GTK_STOCK_PREFERENCES }, 2876 { N_("/Tools/Pr_eferences"), "<CTL>P", pidgin_prefs_show, 0, "<StockItem>", GTK_STOCK_PREFERENCES },
2882 { N_("/Tools/Pr_ivacy"), NULL, pidgin_privacy_dialog_show, 0, "<Item>", NULL }, 2877 { N_("/Tools/Pr_ivacy"), NULL, pidgin_privacy_dialog_show, 0, "<Item>", NULL },
2883 { "/Tools/sep2", NULL, NULL, 0, "<Separator>", NULL }, 2878 { "/Tools/sep2", NULL, NULL, 0, "<Separator>", NULL },
2884 { N_("/Tools/_File Transfers"), "<CTL>T", pidgin_xfer_dialog_show, 0, "<Item>", NULL }, 2879 { N_("/Tools/_File Transfers"), "<CTL>T", pidgin_xfer_dialog_show, 0, "<Item>", NULL },
2885 { N_("/Tools/R_oom List"), NULL, pidgin_roomlist_dialog_show, 0, "<Item>", NULL }, 2880 { N_("/Tools/R_oom List"), NULL, pidgin_roomlist_dialog_show, 0, "<Item>", NULL },
2886 { N_("/Tools/System _Log"), NULL, gtk_blist_show_systemlog_cb, 0, "<Item>", NULL }, 2881 { N_("/Tools/System _Log"), NULL, pidgin_blist_show_with_parent, (int)pidgin_syslog_show, "<Item>", NULL },
2887 { "/Tools/sep3", NULL, NULL, 0, "<Separator>", NULL }, 2882 { "/Tools/sep3", NULL, NULL, 0, "<Separator>", NULL },
2888 { N_("/Tools/Mute _Sounds"), "<CTL>S", pidgin_blist_mute_sounds_cb, 0, "<CheckItem>", NULL }, 2883 { N_("/Tools/Mute _Sounds"), "<CTL>S", pidgin_blist_mute_sounds_cb, 0, "<CheckItem>", NULL },
2889 /* Help */ 2884 /* Help */
2890 { N_("/_Help"), NULL, NULL, 0, "<Branch>", NULL }, 2885 { N_("/_Help"), NULL, NULL, 0, "<Branch>", NULL },
2891 { N_("/Help/Online _Help"), "F1", gtk_blist_show_onlinehelp_cb, 0, "<StockItem>", GTK_STOCK_HELP }, 2886 { N_("/Help/Online _Help"), "F1", gtk_blist_show_onlinehelp_cb, 0, "<StockItem>", GTK_STOCK_HELP },