aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-history-window.c
diff options
context:
space:
mode:
authorMatthias Classen <mclassen@redhat.com>2010-10-21 17:58:08 +0800
committerXan Lopez <xan@gnome.org>2010-10-21 17:58:08 +0800
commit60fdf062468a581293d651da936dd5485ef32c8f (patch)
tree1de94ea93d30ca3065411308fc854f7bb7fb890a /src/ephy-history-window.c
parentab1ddba880306b133d221822cc610f1276d38e20 (diff)
downloadgsoc2013-epiphany-60fdf062468a581293d651da936dd5485ef32c8f.tar
gsoc2013-epiphany-60fdf062468a581293d651da936dd5485ef32c8f.tar.gz
gsoc2013-epiphany-60fdf062468a581293d651da936dd5485ef32c8f.tar.bz2
gsoc2013-epiphany-60fdf062468a581293d651da936dd5485ef32c8f.tar.lz
gsoc2013-epiphany-60fdf062468a581293d651da936dd5485ef32c8f.tar.xz
gsoc2013-epiphany-60fdf062468a581293d651da936dd5485ef32c8f.tar.zst
gsoc2013-epiphany-60fdf062468a581293d651da936dd5485ef32c8f.zip
Use the new GtkComboText APIs
Signed-off-by: Xan Lopez <xan@gnome.org>
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r--src/ephy-history-window.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index ba81c6e0d..f3626b21e 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -952,24 +952,24 @@ build_search_box (EphyHistoryWindow *editor)
gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
gtk_widget_show (label);
- combo = gtk_combo_box_new_text ();
+ combo = gtk_combo_box_text_new ();
gtk_widget_show (combo);
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Last 30 minutes"));
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Today"));
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), _("Last 30 minutes"));
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), _("Today"));
str = g_strdup_printf (ngettext ("Last %d day", "Last %d days", 2), 2);
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), str);
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), str);
g_free (str);
str = g_strdup_printf (ngettext ("Last %d day", "Last %d days", 3), 3);
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), str);
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), str);
g_free (str);
/* keep this in sync with embed/ephy-history.c's
* HISTORY_PAGE_OBSOLETE_DAYS */
str = g_strdup_printf (ngettext ("Last %d day", "Last %d days", 10), 10);
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), str);
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), str);
g_free (str);
g_settings_bind (EPHY_SETTINGS_STATE,