Use GTK_COMBO_BOX_TEXT with Statusbar Features

This commit is contained in:
Christian Dywan 2011-10-20 23:36:34 +02:00
parent 8f421d6cfc
commit b29ee13da6

View file

@ -157,7 +157,7 @@ statusbar_features_app_add_browser_cb (MidoriApp* app,
button = gtk_combo_box_text_new_with_entry ();
gtk_entry_set_width_chars (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (button))), 4);
for (i = 0; i < G_N_ELEMENTS (zoom_levels); i++)
gtk_combo_box_text_append_text (GTK_COMBO_BOX (button), zoom_levels[i].label);
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (button), zoom_levels[i].label);
gtk_box_pack_start (GTK_BOX (bbox), button, FALSE, FALSE, 2);
g_signal_connect (button, "changed",
G_CALLBACK (statusbar_features_zoom_level_changed_cb), browser);