[evolution-rss/evolution-rss-0-2-0] fix render engine combo box



commit ed67995aa31497b4f8beb63976d118b191abc2d6
Author: Lucian Langa <lucilanga gnome org>
Date:   Mon Dec 6 00:12:09 2010 +0200

    fix render engine combo box

 src/rss-config-factory.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index 0432817..200a844 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -3140,15 +3140,15 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
 			gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 0);
 			break;
 		case 1:
-#ifndef HAVE_WEBKIT
-			gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 0);
-			break;
+#ifdef HAVE_WEBKIT
+			gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 1);
 #endif
-		case 2:
-#ifndef HAVE_GECKO
-			gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 0);
 			break;
+		case 2:
+#ifdef HAVE_GECKO
+			gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 2);
 #endif
+			break;
 		default:
 			g_print("Selected render not supported! Failling back to default.\n");
 			gtk_combo_box_set_active(GTK_COMBO_BOX(combo), render);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]