[gnome-games/wip/exalm/gtk4: 34/48] message-dialog: Updates
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/gtk4: 34/48] message-dialog: Updates
- Date: Wed, 21 Aug 2019 22:50:05 +0000 (UTC)
commit 05643fe7bd590e11650e460bd1db028e6fcb77d1
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Mon Aug 19 20:01:04 2019 +0500
message-dialog: Updates
data/ui/message-dialog.ui | 4 +---
src/ui/message-dialog.vala | 6 ------
2 files changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/data/ui/message-dialog.ui b/data/ui/message-dialog.ui
index e653ad82..295649b5 100644
--- a/data/ui/message-dialog.ui
+++ b/data/ui/message-dialog.ui
@@ -6,19 +6,17 @@
<property name="modal">True</property>
<property name="destroy-with-parent">True</property>
<property name="type-hint">dialog</property>
- <child internal-child="vbox">
+ <child internal-child="content_area">
<object class="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="spacing">20</property>
- <property name="border-width">0</property>
<child>
<object class="GtkBox" id="box">
<property name="visible">True</property>
<property name="margin-start">30</property>
<property name="margin-end">30</property>
<property name="spacing">30</property>
- <property name="border-width">5</property>
<child>
<object class="GtkBox" id="message_area">
<property name="visible">True</property>
diff --git a/src/ui/message-dialog.vala b/src/ui/message-dialog.vala
index 6896d011..e9d36152 100644
--- a/src/ui/message-dialog.vala
+++ b/src/ui/message-dialog.vala
@@ -28,12 +28,6 @@ private class Games.MessageDialog : Gtk.Dialog {
}
}
- construct {
- // FIXME: There's no way to avoid this in GTK3
- var action_area = get_action_area () as Gtk.ButtonBox;
- action_area.set_layout (Gtk.ButtonBoxStyle.EXPAND);
- }
-
static construct {
set_css_name ("messagedialog");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]