ui: Reformat .ui-files

This commit is contained in:
Sophie Herold 2023-11-28 22:02:30 +01:00
parent 5a905cd53f
commit f3ff2f5cba
5 changed files with 56 additions and 59 deletions

View file

@ -61,7 +61,7 @@
<object class="AdwStatusPage" id="error_page">
<property name="icon-name">image-missing-symbolic</property>
<property name="title" translatable="yes">Could not Load Image</property>
<property name="description" bind-source="image" bind-property="error"/>
<property name="description" bind-source="image" bind-property="error" />
</object>
</child>
<child>
@ -97,7 +97,7 @@
<property name="tooltip-text" translatable="yes">Rotate Left</property>
<property name="action-name">win.rotate_ccw</property>
<style>
<class name="flat"/>
<class name="flat" />
</style>
</object>
</child>
@ -107,7 +107,7 @@
<property name="tooltip-text" translatable="yes">Rotate Right</property>
<property name="action-name">win.rotate_cw</property>
<style>
<class name="flat"/>
<class name="flat" />
</style>
</object>
</child>
@ -118,5 +118,4 @@
</object>
</property>
</template>
</interface>
</interface>

View file

@ -9,8 +9,8 @@
<property name="hexpand">True</property>
<child>
<object class="LpSlidingView" id="sliding_view">
<signal name="notify::current-page" handler="page_changed_cb" swapped="yes"/>
<signal name="target-page-reached" handler="target_page_reached_cb" swapped="yes"/>
<signal name="notify::current-page" handler="page_changed_cb" swapped="yes" />
<signal name="target-page-reached" handler="target_page_reached_cb" swapped="yes" />
</object>
</child>
<child type="overlay">
@ -29,8 +29,8 @@
<property name="action-name">win.previous</property>
<property name="tooltip-text" translatable="yes">Previous Image</property>
<style>
<class name="osd"/>
<class name="circular"/>
<class name="osd" />
<class name="circular" />
</style>
</object>
</child>
@ -40,8 +40,8 @@
<property name="action-name">win.next</property>
<property name="tooltip-text" translatable="yes">Next Image</property>
<style>
<class name="osd"/>
<class name="circular"/>
<class name="osd" />
<class name="circular" />
</style>
</object>
</child>
@ -65,8 +65,8 @@
<property name="action-name">win.zoom-out</property>
<property name="tooltip-text" translatable="yes">Zoom Out</property>
<style>
<class name="osd"/>
<class name="circular"/>
<class name="osd" />
<class name="circular" />
</style>
</object>
</child>
@ -76,8 +76,8 @@
<property name="action-name">win.zoom-in</property>
<property name="tooltip-text" translatable="yes">Zoom In</property>
<style>
<class name="osd"/>
<class name="circular"/>
<class name="osd" />
<class name="circular" />
</style>
</object>
</child>
@ -94,8 +94,8 @@
<property name="action-name">win.toggle-fullscreen</property>
<property name="tooltip-text" translatable="yes">Toggle Fullscreen</property>
<style>
<class name="osd"/>
<class name="circular"/>
<class name="osd" />
<class name="circular" />
</style>
</object>
</child>
@ -107,7 +107,7 @@
</object>
</property>
<style>
<class name="image-view"/>
<class name="image-view" />
</style>
</template>
</interface>
</interface>

View file

@ -106,7 +106,7 @@
<object class="GtkDropDown" id="margin_unit">
<property name="tooltip-text" translatable="yes">Margin Units</property>
<style>
<class name="flat"/>
<class name="flat" />
</style>
<property name="model">
<object class="GtkStringList">
@ -136,9 +136,8 @@
<property name="title" translatable="yes">Image Size</property>
<property name="header-suffix">
<object class="GtkDropDown" id="size_unit">
<property name="tooltip-text" translatable="yes">Image Size Units</property>"
<style>
<class name="flat"/>
<property name="tooltip-text" translatable="yes">Image Size Units</property>" <style>
<class name="flat" />
</style>
<property name="model">
<object class="GtkStringList">
@ -187,4 +186,4 @@
</object>
</property>
</template>
</interface>
</interface>

View file

@ -4,12 +4,12 @@
<property name="width-request">255</property>
<binding name="metadata">
<lookup type="LpImage" name="metadata">
<lookup type="LpPropertiesView" name="image"/>
<lookup type="LpPropertiesView" name="image" />
</lookup>
</binding>
<binding name="file">
<lookup type="LpImage" name="file">
<lookup type="LpPropertiesView" name="image"/>
<lookup type="LpPropertiesView" name="image" />
</lookup>
</binding>
<property name="child">
@ -40,12 +40,12 @@
<property name="icon-name">folder-open-symbolic</property>
<property name="tooltip-text" translatable="yes">Open Containing Folder</property>
<style>
<class name="flat"/>
<class name="flat" />
</style>
</object>
</child>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -61,11 +61,11 @@
<closure type="gchararray" function="image_size">
<lookup type="LpImage" name="image-size">
<lookup name="image">LpPropertiesView</lookup>
</lookup>
</lookup>
</closure>
</binding>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -75,11 +75,11 @@
<property name="subtitle-selectable">True</property>
<binding name="subtitle">
<lookup type="LpImage" name="format-name">
<lookup type="LpPropertiesView" name="image"/>
<lookup type="LpPropertiesView" name="image" />
</lookup>
</binding>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -93,7 +93,7 @@
</closure>
</binding>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -111,7 +111,7 @@
</closure>
</binding>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -123,9 +123,8 @@
<closure type="gchararray" function="modified_date">
<lookup name="file-info">LpPropertiesView</lookup>
</closure>
</binding>"
<style>
<class name="property"/>
</binding>" <style>
<class name="property" />
</style>
</object>
</child>
@ -161,12 +160,12 @@
<property name="icon-name">mark-location-symbolic</property>
<property name="tooltip-text" translatable="yes">Open Location</property>
<style>
<class name="flat"/>
<class name="flat" />
</style>
</object>
</child>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -187,7 +186,7 @@
</closure>
</binding>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -208,7 +207,7 @@
</closure>
</binding>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -229,7 +228,7 @@
</closure>
</binding>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -250,7 +249,7 @@
</closure>
</binding>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -271,7 +270,7 @@
</closure>
</binding>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -292,7 +291,7 @@
</closure>
</binding>
<style>
<class name="property"/>
<class name="property" />
</style>
</object>
</child>
@ -303,4 +302,4 @@
</object>
</property>
</template>
</interface>
</interface>