[gimp] app: show an angle dial next to all GEGL angle properties
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: show an angle dial next to all GEGL angle properties
- Date: Sun, 25 May 2014 19:55:35 +0000 (UTC)
commit b087705c829b20d98ba0eee671268e2cc9275c74
Author: Michael Natterer <mitch gimp org>
Date: Sun May 25 21:53:14 2014 +0200
app: show an angle dial next to all GEGL angle properties
app/widgets/gimpproptable.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpproptable.c b/app/widgets/gimpproptable.c
index 28d8a96..d3ddebf 100644
--- a/app/widgets/gimpproptable.c
+++ b/app/widgets/gimpproptable.c
@@ -285,7 +285,16 @@ gimp_prop_table_new (GObject *config,
if (HAS_KEY (pspec, "unit", "degree") &&
(upper - lower) == 360.0)
{
+ GtkWidget *dial;
+
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (widget), TRUE);
+
+ dial = gimp_prop_angle_dial_new (config, pspec->name);
+ gtk_table_attach (GTK_TABLE (table), dial,
+ 4, 5, row, row + 1,
+ GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL,
+ 0, 0);
+ gtk_widget_show (dial);
}
else if (HAS_KEY (pspec, "axis", "x"))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]