[gimp] app: lay out the GimpTransformOptions GUI more uniformly
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: lay out the GimpTransformOptions GUI more uniformly
- Date: Sun, 27 Mar 2011 21:18:47 +0000 (UTC)
commit 18929f0865feeb115eabb5c581f6e3a7f12ba3d8
Author: Michael Natterer <mitch gimp org>
Date: Sun Mar 27 23:18:28 2011 +0200
app: lay out the GimpTransformOptions GUI more uniformly
app/tools/gimptransformoptions.c | 25 ++++++-------------------
1 files changed, 6 insertions(+), 19 deletions(-)
---
diff --git a/app/tools/gimptransformoptions.c b/app/tools/gimptransformoptions.c
index aec0d3f..afe432f 100644
--- a/app/tools/gimptransformoptions.c
+++ b/app/tools/gimptransformoptions.c
@@ -293,10 +293,6 @@ gimp_transform_options_gui (GimpToolOptions *tool_options)
gtk_widget_show (combo);
/* the clipping menu */
- hbox = gtk_hbox_new (FALSE, 2);
- gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
- gtk_widget_show (hbox);
-
frame = gimp_frame_new (_("Clipping:"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
@@ -306,30 +302,21 @@ gimp_transform_options_gui (GimpToolOptions *tool_options)
gtk_widget_show (combo);
/* the preview frame */
- frame = gimp_frame_new (NULL);
+ frame = gimp_frame_new (_("Preview:"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
- /* the preview type menu */
- hbox = gtk_hbox_new (FALSE, 2);
- gtk_frame_set_label_widget (GTK_FRAME (frame), hbox);
- gtk_widget_show (hbox);
-
- label = gtk_label_new (_("Preview:"));
- gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
- gtk_widget_show (label);
-
- combo = gimp_prop_enum_combo_box_new (config, "preview-type", 0, 0);
- gtk_box_pack_start (GTK_BOX (hbox), combo, TRUE, TRUE, 0);
- gtk_widget_show (combo);
-
preview_box = gtk_vbox_new (FALSE, 2);
gtk_container_add (GTK_CONTAINER (frame), preview_box);
gtk_widget_show (preview_box);
+ combo = gimp_prop_enum_combo_box_new (config, "preview-type", 0, 0);
+ gtk_box_pack_start (GTK_BOX (preview_box), combo, FALSE, FALSE, 0);
+ gtk_widget_show (combo);
+
/* the preview opacity scale */
scale = gimp_prop_opacity_spin_scale_new (config, "preview-opacity",
- _("Opacity"));
+ _("Image opacity"));
gtk_box_pack_start (GTK_BOX (preview_box), scale, FALSE, FALSE, 0);
gtk_widget_show (scale);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]