[gtk/wip/matthiasc/popup2: 53/90] popover: Set a css name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup2: 53/90] popover: Set a css name
- Date: Sat, 23 Mar 2019 13:40:33 +0000 (UTC)
commit bcee7bd10a632c6c6178dd269c9150c652c6afa5
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]