diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-03-01 17:41:09 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-03-06 17:16:09 +0000 |
commit | 5d3cc513a3ecadb98ed8f6e34c4521db634e09cf (patch) | |
tree | e729bceb6232036b74049c75fe25a812eebedbda /gtk/res/viewdata.gtk2.ui | |
parent | 7247f48d2f5de82b52b7d3050dec513af971b3d7 (diff) | |
download | netsurf-5d3cc513a3ecadb98ed8f6e34c4521db634e09cf.tar.gz netsurf-5d3cc513a3ecadb98ed8f6e34c4521db634e09cf.tar.bz2 |
Fixup gtk viewdata window to open at appropriate size
The size hints given were insufficient for gtk to open the window at a
sensible size or position. This fixes it to open with a default
640x480 size which is a reasonable compromise.
The gtk3 ui builder file was completely reconstructed from fresh as it
was broken and was not working.
Diffstat (limited to 'gtk/res/viewdata.gtk2.ui')
-rw-r--r-- | gtk/res/viewdata.gtk2.ui | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/res/viewdata.gtk2.ui b/gtk/res/viewdata.gtk2.ui index c54545415..7589022ca 100644 --- a/gtk/res/viewdata.gtk2.ui +++ b/gtk/res/viewdata.gtk2.ui @@ -3,6 +3,8 @@ <!-- interface-requires gtk+ 2.12 --> <!-- interface-naming-policy toplevel-contextual --> <object class="GtkWindow" id="ViewDataWindow"> + <property name="default_width">640</property> + <property name="default_height">480</property> <child> <object class="GtkVBox" id="vbox1"> <property name="visible">True</property> @@ -180,8 +182,6 @@ <property name="vscrollbar_policy">automatic</property> <child> <object class="GtkTextView" id="viewdata_view"> - <property name="width_request">600</property> - <property name="height_request">400</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="pixels_above_lines">1</property> |