[gimp] app: use the new opacity prop scale
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: use the new opacity prop scale
- Date: Mon, 1 Nov 2010 21:08:26 +0000 (UTC)
commit 7bfdf76a47c83a75938c4a60c984524f4eb09ac7
Author: Michael Natterer <mitch gimp org>
Date: Mon Nov 1 22:07:55 2010 +0100
app: use the new opacity prop scale
app/tools/gimppaintoptions-gui.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/app/tools/gimppaintoptions-gui.c b/app/tools/gimppaintoptions-gui.c
index 42bb945..ebd1bf3 100644
--- a/app/tools/gimppaintoptions-gui.c
+++ b/app/tools/gimppaintoptions-gui.c
@@ -76,6 +76,7 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
GtkWidget *frame;
GtkWidget *table;
GtkWidget *menu;
+ GtkWidget *scale;
GtkWidget *label;
GtkWidget *button;
GtkWidget *incremental_toggle = NULL;
@@ -109,9 +110,13 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
}
/* the opacity scale */
- gimp_prop_opacity_entry_new (config, "opacity",
- GTK_TABLE (table), 0, table_row++,
- _("Opacity:"));
+ scale = gimp_prop_opacity_spin_scale_new (config, "opacity",
+ _("Opacity"));
+ gtk_table_attach (GTK_TABLE (table), scale,
+ 0, 3, table_row, table_row + 1,
+ GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_SHRINK, 0, 0);
+ gtk_widget_show (scale);
+ table_row++;
/* the brush */
if (g_type_is_a (tool_type, GIMP_TYPE_BRUSH_TOOL))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]