# HG changeset patch # User Justin Rodriguez # Date 1214600507 0 # Node ID ef66901f74f50765d34bdfb0579e1b4f18fc9e74 # Parent c32dd71d065800f65b0a0f00d85664a2491333cd Fixes the display problems with (option 1) sound themes diff -r c32dd71d0658 -r ef66901f74f5 pidgin/gtkprefs.c --- a/pidgin/gtkprefs.c Fri Jun 27 18:04:29 2008 +0000 +++ b/pidgin/gtkprefs.c Fri Jun 27 21:01:47 2008 +0000 @@ -1852,6 +1852,8 @@ */ if (sound == sound_row_sel) gtk_entry_set_text(GTK_ENTRY(sound_entry), filename); + + pref_set_sound_customized(); } static void select_sound(GtkWidget *button, gpointer being_NULL_is_fun) @@ -2042,6 +2044,10 @@ gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), cell_rend, FALSE); gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), cell_rend, "text", 1, NULL); + cell_rend = gtk_cell_renderer_text_new (); + gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), cell_rend, FALSE); + gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), cell_rend, "text", 2, NULL); + gtk_combo_box_set_active_iter(GTK_COMBO_BOX(combo_box), &prefs_sound_iter); g_signal_connect(G_OBJECT(combo_box), "changed", (GCallback)prefs_set_sound_theme, NULL);