Verified Commit bc820972 authored by tallero's avatar tallero

start adding support for snap

parent 7af32c04
......@@ -2,24 +2,16 @@
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<requires lib="libhandy" version="0.0"/>
<object class="GtkImage" id="back-icon">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">go-previous-symbolic</property>
</object>
<template class="Preferences" parent="GtkWindow">
<property name="can_focus">False</property>
<property name="default_width">600</property>
<property name="default_height">400</property>
<child>
<object class="HdyLeaflet" id="single_column">
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="hhomogeneous_folded">False</property>
<property name="visible_child_name">sidebar</property>
<property name="mode_transition_type">slide</property>
<property name="child_transition_type">slide</property>
<property name="interpolate_size">True</property>
<property name="vexpand">True</property>
<child>
<object class="GtkGrid" id="sidebar">
<property name="name">sidebar</property>
......@@ -28,6 +20,7 @@
<property name="can_focus">False</property>
<property name="receives_default">True</property>
<property name="halign">start</property>
<property name="hexpand">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow" id="sidebar_scrolled_window">
......@@ -70,7 +63,9 @@
</child>
</object>
<packing>
<property name="name">sidebar</property>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
......@@ -80,14 +75,18 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="transition_type">slide-left</property>
<property name="interpolate_size">True</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">18</property>
<property name="margin_right">18</property>
<property name="margin_start">18</property>
<property name="margin_end">18</property>
<property name="margin_top">18</property>
<property name="margin_bottom">18</property>
<property name="hexpand">True</property>
<property name="orientation">vertical</property>
<<<<<<< HEAD
<property name="spacing">18</property>
......@@ -172,7 +171,7 @@
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
<property name="hexpand">True</property>
<child>
<object class="GtkViewport">
<property name="visible">True</property>
......@@ -187,6 +186,7 @@
<property name="margin_end">18</property>
<property name="margin_top">18</property>
<property name="margin_bottom">18</property>
<property name="hexpand">True</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
......@@ -235,6 +235,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="halign">center</property>
<signal name="clicked" handler="language_new_clicked_cb" swapped="no"/>
</object>
<packing>
......@@ -303,12 +304,12 @@
</child>
</object>
<packing>
<property name="name">content_stack</property>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
<child type="titlebar">
......@@ -318,13 +319,7 @@
<property name="title" translatable="yes">Preferences</property>
<property name="show_close_button">True</property>
<child>
<object class="GtkButton" id="back">
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Close this window and come back to the editor</property>
<property name="image">back-icon</property>
<property name="always_show_image">True</property>
</object>
<placeholder/>
</child>
</object>
</child>
......@@ -346,14 +341,4 @@
</object>
</child>
</template>
<object class="GtkSizeGroup" id="end_pane_size_group">
<widgets>
<widget name="content_stack"/>
</widgets>
</object>
<object class="GtkSizeGroup" id="start_pane_size_group">
<widgets>
<widget name="sidebar"/>
</widgets>
</object>
</interface>
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