Commit f0ded31d authored by Paolo Bacchilega's avatar Paolo Bacchilega

zoom menu: removed unnecessary GtkBox

parent 1d852035
......@@ -56,114 +56,107 @@
<property name="orientation">vertical</property>
<property name="width_request">200</property>
<child>
<object class="GtkBox" id="sort_menu">
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">Automatic</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'automatic'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">Fit to window</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'fit'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">Fit to width</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'fit-width'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">Fit to height</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'fit-height'</property>
</object>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">Automatic</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'automatic'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">Fit to window</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'fit'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">Fit to width</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'fit-width'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">Fit to height</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'fit-height'</property>
</object>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">50%</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'50'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">100%</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'100'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">200%</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'200'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">300%</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'300'</property>
</object>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
</object>
</child>
<child>
<object class="GtkScale" id="zoom_level_scale">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="draw_value">False</property>
<property name="has_origin">False</property>
<property name="adjustment">zoom_adjustment</property>
<property name="round_digits">0</property>
<property name="restrict_to_fill_level">False</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
<property name="can_focus">True</property>
<property name="text" translatable="yes">50%</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'50'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">100%</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'100'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">200%</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'200'</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">300%</property>
<property name="action-name">win.image-zoom</property>
<property name="action-target">'300'</property>
</object>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
</object>
</child>
<child>
<object class="GtkScale" id="zoom_level_scale">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="draw_value">False</property>
<property name="has_origin">False</property>
<property name="adjustment">zoom_adjustment</property>
<property name="round_digits">0</property>
<property name="restrict_to_fill_level">False</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</object>
</child>
......
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