Mercurial > audlegacy
diff audacious/mainwin.c @ 1791:15c92d5aebcd trunk
[svn] - really preserve the old message on othertext info
author | nenolod |
---|---|
date | Wed, 04 Oct 2006 19:00:09 -0700 |
parents | d3293e214422 |
children | b8f082ddd9f1 |
line wrap: on
line diff
--- a/audacious/mainwin.c Wed Oct 04 18:52:37 2006 -0700 +++ b/audacious/mainwin.c Wed Oct 04 19:00:09 2006 -0700 @@ -783,9 +783,11 @@ void mainwin_lock_info_text(const gchar * text) { + if (mainwin_info_text_locked != TRUE) + mainwin_tb_old_text = g_strdup(bmp_active_skin->properties.mainwin_othertext_is_status ? + mainwin_othertext->tb_text : mainwin_info->tb_text); + mainwin_info_text_locked = TRUE; - mainwin_tb_old_text = g_strdup(bmp_active_skin->properties.mainwin_othertext_is_status ? - mainwin_othertext->tb_text : mainwin_info->tb_text); textbox_set_text(bmp_active_skin->properties.mainwin_othertext_is_status ? mainwin_othertext : mainwin_info, text); }