[gimp] app: set GimpRectangleOptions highlight-opacity scale to 100
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: set GimpRectangleOptions highlight-opacity scale to 100
- Date: Thu, 15 Feb 2018 22:07:22 +0000 (UTC)
commit 7959c7bf61bf2e9927e1c7954a13aad2d551a177
Author: Ell <ell_se yahoo com>
Date: Thu Feb 15 15:31:06 2018 -0500
app: set GimpRectangleOptions highlight-opacity scale to 100
Set the scale of the GimpRectangleOptions highlight-opacity
spinscale to 100, so that the spinscale's range is 0-100, instead
of 0-1, like the rest of our opacity spinscales.
app/tools/gimprectangleoptions.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimprectangleoptions.c b/app/tools/gimprectangleoptions.c
index 120bd3f..eb9d3c0 100644
--- a/app/tools/gimprectangleoptions.c
+++ b/app/tools/gimprectangleoptions.c
@@ -1047,7 +1047,8 @@ gimp_rectangle_options_gui (GimpToolOptions *tool_options)
GtkWidget *scale;
scale = gimp_prop_spin_scale_new (config, "highlight-opacity", NULL,
- 0.01, 0.1, 2);
+ 0.01, 0.1, 0);
+ gimp_prop_widget_set_factor (scale, 100.0, 0.0, 0.0, 1);
frame = gimp_prop_expanding_frame_new (config, "highlight", NULL,
scale, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]