Commit 9bc07a26 authored by Matthias Clasen's avatar Matthias Clasen

Add a message-dialog style class

This helps in separating message dialogs from other dialogs,
theming-wise.
parent e97cf2fd
......@@ -5994,6 +5994,7 @@ GTK_STYLE_CLASS_MARK
GTK_STYLE_CLASS_MENU
GTK_STYLE_CLASS_MENUBAR
GTK_STYLE_CLASS_MENUITEM
GTK_STYLE_CLASS_MESSAGE_DIALOG
GTK_STYLE_CLASS_NEEDS_ATTENTION
GTK_STYLE_CLASS_NOTEBOOK
GTK_STYLE_CLASS_OSD
......
......@@ -807,6 +807,15 @@ struct _GtkStyleContextClass
*/
#define GTK_STYLE_CLASS_POPUP "popup"
/**
* GTK_STYLE_CLASS_MESSAGE_DIALOG:
*
* A CSS class that is added to message dialogs.
*
* Since: 3.14
*/
#define GTK_STYLE_CLASS_MESSAGE_DIALOG "message-dialog"
/**
* GTK_STYLE_REGION_ROW:
*
......
......@@ -8,6 +8,9 @@
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">True</property>
<style>
<class name="message-dialog"/>
</style>
<child internal-child="headerbar">
<object class="GtkHeaderBar" id="headerbar1">
<property name="visible">True</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment