Mercurial > audlegacy
changeset 3567:5c6994da98c3 trunk
Automated merge with ssh://hg.atheme.org//hg/audacious
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 18 Sep 2007 23:54:18 +0300 |
parents | 97b10cd95da2 (current diff) 21601ce39fa1 (diff) |
children | 08340a70fa6c |
files | |
diffstat | 3 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_main.c Tue Sep 18 23:53:57 2007 +0300 +++ b/src/audacious/ui_main.c Tue Sep 18 23:54:18 2007 +0300 @@ -135,11 +135,10 @@ static GtkWidget *mainwin_shuffle, *mainwin_repeat; GtkWidget *mainwin_eq, *mainwin_pl; -GtkWidget *mainwin_info; +GtkWidget *mainwin_info, *mainwin_othertext; GtkWidget *mainwin_stime_min, *mainwin_stime_sec; -static GtkWidget *mainwin_rate_text, *mainwin_freq_text, - *mainwin_othertext; +static GtkWidget *mainwin_rate_text, *mainwin_freq_text; GtkWidget *mainwin_playstatus; @@ -2438,6 +2437,7 @@ g_signal_connect(mainwin_info, "right-clicked", mainwin_info_right_clicked_cb, NULL); mainwin_othertext = ui_skinned_textbox_new(SKINNED_WINDOW(mainwin)->fixed, 112, 43, 153, 1, SKIN_TEXT); + ui_skinned_textbox_set_xfont(mainwin_othertext, cfg.mainwin_use_xfont, cfg.mainwin_font); mainwin_rate_text = ui_skinned_textbox_new(SKINNED_WINDOW(mainwin)->fixed, 111, 43, 15, 0, SKIN_TEXT);
--- a/src/audacious/ui_main.h Tue Sep 18 23:53:57 2007 +0300 +++ b/src/audacious/ui_main.h Tue Sep 18 23:54:18 2007 +0300 @@ -100,7 +100,7 @@ extern GtkWidget *mainwin_jtf; extern GtkWidget *mainwin_eq, *mainwin_pl; -extern GtkWidget *mainwin_info; +extern GtkWidget *mainwin_info, *mainwin_othertext; extern GtkWidget *mainwin_stime_min, *mainwin_stime_sec;
--- a/src/audacious/ui_preferences.c Tue Sep 18 23:53:57 2007 +0300 +++ b/src/audacious/ui_preferences.c Tue Sep 18 23:54:18 2007 +0300 @@ -585,6 +585,7 @@ cfg.mainwin_font = g_strdup(gtk_font_button_get_font_name(button)); ui_skinned_textbox_set_xfont(mainwin_info, cfg.mainwin_use_xfont, cfg.mainwin_font); + ui_skinned_textbox_set_xfont(mainwin_othertext, cfg.mainwin_use_xfont, cfg.mainwin_font); } static void @@ -602,6 +603,7 @@ gboolean useit = gtk_toggle_button_get_active(button); cfg.mainwin_use_xfont = useit != FALSE ? FALSE : TRUE; ui_skinned_textbox_set_xfont(mainwin_info, cfg.mainwin_use_xfont, cfg.mainwin_font); + ui_skinned_textbox_set_xfont(mainwin_othertext, cfg.mainwin_use_xfont, cfg.mainwin_font); playlistwin_set_sinfo_font(cfg.playlist_font); if (cfg.playlist_shaded) {