[gimp] app: set CSS names on GimpToolDialog and GimpOverlayDialog
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: set CSS names on GimpToolDialog and GimpOverlayDialog
- Date: Sun, 10 Jun 2018 21:58:20 +0000 (UTC)
commit 5a7925c5dce99e3f10589402a3f829c2e86ba30e
Author: Michael Natterer <mitch gimp org>
Date: Sun Jun 10 23:56:17 2018 +0200
app: set CSS names on GimpToolDialog and GimpOverlayDialog
app/display/gimptooldialog.c | 2 ++
app/widgets/gimpoverlaydialog.c | 2 ++
2 files changed, 4 insertions(+)
---
diff --git a/app/display/gimptooldialog.c b/app/display/gimptooldialog.c
index 48caccac67..8e94e54266 100644
--- a/app/display/gimptooldialog.c
+++ b/app/display/gimptooldialog.c
@@ -64,6 +64,8 @@ gimp_tool_dialog_class_init (GimpToolDialogClass *klass)
object_class->dispose = gimp_tool_dialog_dispose;
+ gtk_widget_class_set_css_name (GTK_WIDGET_CLASS (klass), "GimpToolDialog");
+
g_type_class_add_private (klass, sizeof (GimpToolDialogPrivate));
}
diff --git a/app/widgets/gimpoverlaydialog.c b/app/widgets/gimpoverlaydialog.c
index 0ab0bc9fef..118daa3f6c 100644
--- a/app/widgets/gimpoverlaydialog.c
+++ b/app/widgets/gimpoverlaydialog.c
@@ -184,6 +184,8 @@ gimp_overlay_dialog_class_init (GimpOverlayDialogClass *klass)
gtk_binding_entry_add_signal (gtk_binding_set_by_class (klass),
GDK_KEY_Escape, 0, "close", 0);
+
+ gtk_widget_class_set_css_name (GTK_WIDGET_CLASS (klass), "GimpOverlayDialog");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]