Mercurial > pidgin
diff src/gtkblist.c @ 11920:52f27ffe68a5
[gaim-migrate @ 14211]
sf patch #1339035, from Sadrul Habib Chowdhury
"Remove the \n in Yahoo! status messages when showing them in the buddy
list inline."
Also some changes from me. I changed gaim_str_strip_cr(char *text) to
gaim_str_strip_char(char *text, char thechar). I don't know why, really,
but it seems like it could be more useful this way. Eh
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 31 Oct 2005 04:27:06 +0000 |
| parents | 5d9172e67615 |
| children | ab0f16a72e89 |
line wrap: on
line diff
--- a/src/gtkblist.c Mon Oct 31 03:55:56 2005 +0000 +++ b/src/gtkblist.c Mon Oct 31 04:27:06 2005 +0000 @@ -2844,7 +2844,7 @@ int length = 0, vis=0; gboolean inside = FALSE; g_strdelimit(tmp, "\n", ' '); - gaim_str_strip_cr(tmp); + gaim_str_strip_char(tmp, '\r'); while(*c && vis < 20) { if(*c == '&') @@ -3368,7 +3368,7 @@ gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtk_item_factory_get_item (gtkblist->ift, N_("/Tools/Mute Sounds"))), gaim_prefs_get_bool("/gaim/gtk/sound/mute")); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtk_item_factory_get_item (gtkblist->ift, N_("/Buddies/Show Buddy Details"))), - gaim_prefs_get_bool("/gaim/gtk/blist/show_buddy_icons")); + gaim_prefs_get_bool("/gaim/gtk/blist/show_buddy_icons")); if(!strcmp(gaim_prefs_get_string("/gaim/gtk/sound/method"), "none")) gtk_widget_set_sensitive(gtk_item_factory_get_widget(gtkblist->ift, N_("/Tools/Mute Sounds")), FALSE);
