[gimp/gtk3-port: 296/386] spinscale: Fix styling
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 296/386] spinscale: Fix styling
- Date: Wed, 9 May 2018 09:47:11 +0000 (UTC)
commit a9048b97af5f706d2d2bc7ec2f4a4a8d3b77e8b6
Author: Timm Bäder <mail baedert org>
Date: Sat Jul 30 22:46:42 2016 +0200
spinscale: Fix styling
app/widgets/gimpspinscale.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpspinscale.c b/app/widgets/gimpspinscale.c
index 34cafef..6cf6954 100644
--- a/app/widgets/gimpspinscale.c
+++ b/app/widgets/gimpspinscale.c
@@ -166,6 +166,8 @@ gimp_spin_scale_class_init (GimpSpinScaleClass *klass)
GIMP_PARAM_READWRITE));
g_type_class_add_private (klass, sizeof (GimpSpinScalePrivate));
+
+ gtk_widget_class_set_css_name (widget_class, "spinbutton");
}
static void
@@ -181,7 +183,6 @@ gimp_spin_scale_init (GimpSpinScale *scale)
GDK_LEAVE_NOTIFY_MASK);
gtk_entry_set_alignment (GTK_ENTRY (scale), 1.0);
- gtk_entry_set_has_frame (GTK_ENTRY (scale), FALSE);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (scale), TRUE);
private->mnemonic_keyval = GDK_KEY_VoidSymbol;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]