mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
widgets, themes: Define colors for GimpBlobEditor
The color for the nib handle is pulled from the widget's background-color style. However, this was not defined - so it was always (0, 0, 0). This patch adds a GimpBlobEditor CSS class and defines the background and border color for it to resolve the issue.
This commit is contained in:
parent
67e10930df
commit
a4f9e7e89a
2 changed files with 9 additions and 0 deletions
|
@ -103,6 +103,8 @@ gimp_blob_editor_class_init (GimpBlobEditorClass *klass)
|
||||||
-G_PI, G_PI, 0.0,
|
-G_PI, G_PI, 0.0,
|
||||||
GIMP_PARAM_READWRITE |
|
GIMP_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT));
|
G_PARAM_CONSTRUCT));
|
||||||
|
|
||||||
|
gtk_widget_class_set_css_name (widget_class, "GimpBlobEditor");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -126,6 +126,13 @@ combobox arrow, combobox button * {
|
||||||
-gtk-icon-shadow: none;
|
-gtk-icon-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Define colors so the nib handle appears in Gimp Ink Options */
|
||||||
|
GimpBlobEditor {
|
||||||
|
color: @fg-color;
|
||||||
|
background-color: @bg-color;
|
||||||
|
border: 0.1em solid @fg-color;
|
||||||
|
}
|
||||||
|
|
||||||
/* Get rid of the outline around all tabs in the gimpcolordialog */
|
/* Get rid of the outline around all tabs in the gimpcolordialog */
|
||||||
GimpColorNotebook .frame {
|
GimpColorNotebook .frame {
|
||||||
border-color: @bg-color;
|
border-color: @bg-color;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue