[epiphany] encoding-dialog.ui: Make unresizable.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] encoding-dialog.ui: Make unresizable.
- Date: Tue, 3 Nov 2015 08:14:51 +0000 (UTC)
commit 4f8c30a00b37af74850a71ad08cf3373eb830a0c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun Nov 1 04:41:35 2015 +0100
encoding-dialog.ui: Make unresizable.
src/ephy-encoding-dialog.c | 2 --
src/resources/encoding-dialog.ui | 5 +++--
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c
index d7e8897..27a52ec 100644
--- a/src/ephy-encoding-dialog.c
+++ b/src/ephy-encoding-dialog.c
@@ -457,7 +457,5 @@ ephy_encoding_dialog_new (EphyWindow *parent)
{
return g_object_new (EPHY_TYPE_ENCODING_DIALOG,
"parent-window", parent,
- "default-width", 350,
- "default-height", 420,
NULL);
}
diff --git a/src/resources/encoding-dialog.ui b/src/resources/encoding-dialog.ui
index 7165cf7..259ce06 100644
--- a/src/resources/encoding-dialog.ui
+++ b/src/resources/encoding-dialog.ui
@@ -5,8 +5,9 @@
<property name="border_width">5</property>
<property name="role">epiphany-encoding-chooser</property>
<property name="modal">True</property>
- <property name="default_width">400</property>
- <property name="default_height">420</property>
+ <property name="resizable">False</property>
+ <property name="width_request">400</property>
+ <property name="height_request">420</property>
<property name="type_hint">dialog</property>
<property name="use_header_bar">1</property>
<property name="title" translatable="yes">Text Encoding</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]