Updating branch refs/heads/master to b383387fb57927437be8792d3a6eddaca9d9e5a6 (commit) from 8060b259e08aea7a45653f39332719c78b5ee904 (commit)
commit b383387fb57927437be8792d3a6eddaca9d9e5a6 Author: Sean Davis <smd.seanda...@gmail.com> Date: Sun Feb 17 03:28:38 2013 -0500 Fix visualization loading. src/parole-conf-dialog.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/parole-conf-dialog.c b/src/parole-conf-dialog.c index 6ac2ab1..cf36a00 100644 --- a/src/parole-conf-dialog.c +++ b/src/parole-conf-dialog.c @@ -340,7 +340,11 @@ static void parole_conf_dialog_add_vis_plugins (gpointer key, gpointer value, GtkWidget *combox) { #if GTK_CHECK_VERSION(3, 0, 0) - gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combox), (const gchar *) key); + GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(combox))); + GtkTreeIter iter; + + gtk_list_store_append( store, &iter ); + gtk_list_store_set( store, &iter, 0, (const gchar *) key, -1 ); #else gtk_combo_box_append_text (GTK_COMBO_BOX (combox), (const gchar *) key); #endif _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits