comparison src/gtkblist.c @ 8573:7dcd6f26e4a7

[gaim-migrate @ 9321] " This patch reimplements the system log. It writes system log to ~/.gaim/logs/<protocol>/<username>/.system/<timestamp>.(txt|html), where <timestamp> is the time that the account <username> with <protocol> signs on. Nathan (faceprint) and LSchiere suggested this logging scheme. No code is currently written to read the old system logs. Note that if you change the logging format, you need to re-login the accounts for the change to take effect." --Ka-Hing (javabsp) Cheung who continues: "Now this one applies, also contains a rider patch that, if you enable sound for "Someone says your name in chat", it will not play a sound if the message is a system message, like if jabber chat tells you that "*** becomes available" and *** is you, it won't play a sound." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 03 Apr 2004 18:34:29 +0000
parents 9949b752d1ab
children 5af95c2b1179
comparison
equal deleted inserted replaced
8572:f6890288bbe0 8573:7dcd6f26e4a7
557 static void gtk_blist_menu_showlog_cb(GtkWidget *w, GaimBuddy *b) 557 static void gtk_blist_menu_showlog_cb(GtkWidget *w, GaimBuddy *b)
558 { 558 {
559 gaim_gtk_log_show(b->name, b->account); 559 gaim_gtk_log_show(b->name, b->account);
560 } 560 }
561 561
562 #if 0
563 static void gtk_blist_show_systemlog_cb() 562 static void gtk_blist_show_systemlog_cb()
564 { 563 {
565 /* LOG show_log(NULL); */ 564 gaim_gtk_syslog_show();
566 } 565 }
567 #endif
568 566
569 static void gtk_blist_show_onlinehelp_cb() 567 static void gtk_blist_show_onlinehelp_cb()
570 { 568 {
571 gaim_notify_uri(NULL, GAIM_WEBSITE "documentation.php"); 569 gaim_notify_uri(NULL, GAIM_WEBSITE "documentation.php");
572 } 570 }
2252 { N_("/Tools/A_ccounts"), "<CTL>A", gaim_gtk_accounts_window_show, 0, "<StockItem>", GAIM_STOCK_ACCOUNTS }, 2250 { N_("/Tools/A_ccounts"), "<CTL>A", gaim_gtk_accounts_window_show, 0, "<StockItem>", GAIM_STOCK_ACCOUNTS },
2253 { N_("/Tools/_File Transfers"), NULL, gaim_show_xfer_dialog, 0, "<StockItem>", GAIM_STOCK_FILE_TRANSFER }, 2251 { N_("/Tools/_File Transfers"), NULL, gaim_show_xfer_dialog, 0, "<StockItem>", GAIM_STOCK_FILE_TRANSFER },
2254 { N_("/Tools/R_oom List"), NULL, gaim_gtk_roomlist_dialog_show, 0, NULL }, 2252 { N_("/Tools/R_oom List"), NULL, gaim_gtk_roomlist_dialog_show, 0, NULL },
2255 { N_("/Tools/Pr_eferences"), "<CTL>P", gaim_gtk_prefs_show, 0, "<StockItem>", GTK_STOCK_PREFERENCES }, 2253 { N_("/Tools/Pr_eferences"), "<CTL>P", gaim_gtk_prefs_show, 0, "<StockItem>", GTK_STOCK_PREFERENCES },
2256 { N_("/Tools/Pr_ivacy"), NULL, gaim_gtk_privacy_dialog_show, 0, NULL }, 2254 { N_("/Tools/Pr_ivacy"), NULL, gaim_gtk_privacy_dialog_show, 0, NULL },
2257 #if 0
2258 { "/Tools/sep2", NULL, NULL, 0, "<Separator>" }, 2255 { "/Tools/sep2", NULL, NULL, 0, "<Separator>" },
2259 { N_("/Tools/View System _Log"), NULL, gtk_blist_show_systemlog_cb, 0, NULL }, 2256 { N_("/Tools/View System _Log"), NULL, gtk_blist_show_systemlog_cb, 0, NULL },
2260 #endif
2261 2257
2262 /* Help */ 2258 /* Help */
2263 { N_("/_Help"), NULL, NULL, 0, "<Branch>" }, 2259 { N_("/_Help"), NULL, NULL, 0, "<Branch>" },
2264 { N_("/Help/Online _Help"), "F1", gtk_blist_show_onlinehelp_cb, 0, "<StockItem>", GTK_STOCK_HELP }, 2260 { N_("/Help/Online _Help"), "F1", gtk_blist_show_onlinehelp_cb, 0, "<StockItem>", GTK_STOCK_HELP },
2265 { N_("/Help/_Debug Window"), NULL, toggle_debug, 0, NULL }, 2261 { N_("/Help/_Debug Window"), NULL, toggle_debug, 0, NULL },