[gtk/wip/otte/matthiasc/popup2: 39/92] popover: Set a css name
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/matthiasc/popup2: 39/92] popover: Set a css name
- Date: Fri, 19 Apr 2019 16:08:33 +0000 (UTC)
commit 1a54af43120e7fc2f3307026f2ce4db3b4035be9
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Mar 19 17:04:20 2019 -0400
popover: Set a css name
gtk/gtkpopup.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkpopup.c b/gtk/gtkpopup.c
index c40a9043b1..366a113b7b 100644
--- a/gtk/gtkpopup.c
+++ b/gtk/gtkpopup.c
@@ -695,6 +695,8 @@ gtk_popup_class_init (GtkPopupClass *klass)
gtk_binding_entry_add_signal (binding_set, GDK_KEY_ISO_Enter, 0, "activate-default", 0);
gtk_binding_entry_add_signal (binding_set, GDK_KEY_KP_Enter, 0, "activate-default", 0);
gtk_binding_entry_add_signal (binding_set, GDK_KEY_Escape, 0, "close", 0);
+
+ gtk_widget_class_set_css_name (widget_class, "popover");
}
GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]