summaryrefslogtreecommitdiff
path: root/walls.ui
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2009-12-23 01:09:34 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2009-12-23 01:09:34 +0100
commit0ccb0f910cf0a19b577685c0f1598b97d3d825cb (patch)
treeeabfd03ffccc2d61515466270df3bf69f71e3971 /walls.ui
parent925fcf201ae850da169516a4c2a9102f1e3a0df4 (diff)
Fixed automatic resizing of opened image.
Resizing the pane is currently very slow and buggy. This is will be fixed at a later time.
Diffstat (limited to 'walls.ui')
-rw-r--r--walls.ui21
1 files changed, 7 insertions, 14 deletions
diff --git a/walls.ui b/walls.ui
index 2f234bb..bd57bbd 100644
--- a/walls.ui
+++ b/walls.ui
@@ -4,6 +4,7 @@
<!-- interface-naming-policy project-wide -->
<object class="GtkWindow" id="window">
<signal name="destroy" handler="gtk_main_quit"/>
+ <signal name="size_allocate" handler="on_window_size_allocate"/>
<child>
<object class="GtkVBox" id="vbox1">
<property name="visible">True</property>
@@ -72,7 +73,7 @@
</packing>
</child>
<child>
- <object class="GtkHPaned" id="hpaned1">
+ <object class="GtkHPaned" id="window_hpane">
<property name="visible">True</property>
<child>
<object class="GtkNotebook" id="left_pages">
@@ -108,22 +109,14 @@
</packing>
</child>
<child>
- <object class="GtkScrolledWindow" id="scrolledwindow1">
+ <object class="GtkLayout" id="layout">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">automatic</property>
- <property name="vscrollbar_policy">automatic</property>
<child>
- <object class="GtkViewport" id="viewport1">
+ <object class="GtkImage" id="image">
+ <property name="width_request">100</property>
+ <property name="height_request">80</property>
<property name="visible">True</property>
- <property name="resize_mode">queue</property>
- <property name="shadow_type">none</property>
- <child>
- <object class="GtkImage" id="image">
- <property name="visible">True</property>
- <property name="stock">gtk-missing-image</property>
- </object>
- </child>
+ <property name="stock">gtk-missing-image</property>
</object>
</child>
</object>