[gimp/gtk3-port: 216/247] plug-ins: port file-ps to GtkComboBoxText
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 216/247] plug-ins: port file-ps to GtkComboBoxText
- Date: Sat, 5 Mar 2011 20:50:21 +0000 (UTC)
commit 116bc24bd0376c4c0a60d72cf784a142f21f0903
Author: Michael Natterer <mitch gimp org>
Date: Sun Feb 6 11:24:36 2011 +0100
plug-ins: port file-ps to GtkComboBoxText
plug-ins/common/file-ps.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/common/file-ps.c b/plug-ins/common/file-ps.c
index 72841b5..5027b81 100644
--- a/plug-ins/common/file-ps.c
+++ b/plug-ins/common/file-ps.c
@@ -3196,11 +3196,13 @@ load_dialog (const gchar *filename,
gimp_help_set_help_data (GTK_WIDGET (entry),
_("Pages to load (e.g.: 1-4 or 1,3,5-7)"), NULL);
- target = gtk_combo_box_new_text ();
- gtk_combo_box_insert_text (GTK_COMBO_BOX (target),
- GIMP_PAGE_SELECTOR_TARGET_LAYERS, _("Layers"));
- gtk_combo_box_insert_text (GTK_COMBO_BOX (target),
- GIMP_PAGE_SELECTOR_TARGET_IMAGES, _("Images"));
+ target = gtk_combo_box_text_new ();
+ gtk_combo_box_text_insert_text (GTK_COMBO_BOX_TEXT (target),
+ GIMP_PAGE_SELECTOR_TARGET_LAYERS,
+ _("Layers"));
+ gtk_combo_box_text_insert_text (GTK_COMBO_BOX_TEXT (target),
+ GIMP_PAGE_SELECTOR_TARGET_IMAGES,
+ _("Images"));
gtk_combo_box_set_active (GTK_COMBO_BOX (target), (int) ps_pagemode);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 4,
_("Open as"), 0.0, 0.5,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]