Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GNOME
gThumb
Commits
f0ded31d
Commit
f0ded31d
authored
Nov 04, 2019
by
Paolo Bacchilega
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zoom menu: removed unnecessary GtkBox
parent
1d852035
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
99 additions
and
106 deletions
+99
-106
extensions/image_viewer/data/ui/toolbar-zoom-menu.ui
extensions/image_viewer/data/ui/toolbar-zoom-menu.ui
+99
-106
No files found.
extensions/image_viewer/data/ui/toolbar-zoom-menu.ui
View file @
f0ded31d
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment