soc.2008.themes: 9863839c: Fixes the display problems with (option ...

ffdragon at soc.pidgin.im ffdragon at soc.pidgin.im
Fri Jun 27 17:11:11 EDT 2008


-----------------------------------------------------------------
Revision: 9863839cc1cbdfface64c2083dac9b6ee00d0c8c
Ancestor: f3908c5d161b03f526c0a1c37d5072fcca61f9b3
Author: ffdragon at soc.pidgin.im
Date: 2008-06-27T21:01:47
Branch: im.pidgin.soc.2008.themes
URL: http://d.pidgin.im/viewmtn/revision/info/9863839cc1cbdfface64c2083dac9b6ee00d0c8c

Modified files:
        pidgin/gtkprefs.c

ChangeLog: 

Fixes the display problems with (option 1) sound themes

-------------- next part --------------
============================================================
--- pidgin/gtkprefs.c	fecdaee6dbdc30659f04dd9c601d41994fe1bac5
+++ pidgin/gtkprefs.c	faec9e8c5dd8e92cbb6583d582b017ad6ddc4e87
@@ -1852,6 +1852,8 @@ sound_chosen_cb(void *user_data, const c
 	 */
 	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 @@ sound_page(void)
 	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);
 


More information about the Commits mailing list