Commit 52cf1e8a authored by Felix Häcker's avatar Felix Häcker

Port to libhandy-1

parent 555b8f76
Pipeline #184339 passed with stage
in 4 minutes and 3 seconds
......@@ -118,8 +118,8 @@
"sources" : [
{
"type" : "git",
"url" : "https://source.puri.sm/Librem5/libhandy",
"branch": "libhandy-0-0"
"url" : "https://gitlab.gnome.org/GNOME/libhandy",
"branch": "master"
}
]
},
......
......@@ -16,26 +16,13 @@
<object class="HdyPreferencesGroup">
<property name="title" translatable="yes">Appearance</property>
<property name="visible">True</property>
<child>
<object class="HdyActionRow">
<property name="title" translatable="yes">Slim Mode</property>
<property name="subtitle" translatable="yes">Make everything a bit smaller to display more information</property>
<property name="visible">False</property>
<child type="action">
<object class="GtkSwitch" id="slim_mode_switch">
<property name="can_focus">True</property>
<property name="visible">True</property>
<property name="valign">center</property>
</object>
</child>
</object>
</child>
<child>
<object class="HdyActionRow">
<property name="title" translatable="yes">Dark Mode</property>
<property name="subtitle" translatable="yes">Whether Fragments should use a dark theme</property>
<property name="activatable_widget">dark_theme_switch</property>
<property name="visible">True</property>
<child type="action">
<child>
<object class="GtkSwitch" id="dark_theme_switch">
<property name="can_focus">True</property>
<property name="visible">True</property>
......@@ -54,8 +41,9 @@
<object class="HdyActionRow" id="download_row">
<property name="title" translatable="yes">Download directory</property>
<property name="subtitle" translatable="yes">Where to store downloaded torrents</property>
<property name="activatable_widget">download_folder_button</property>
<property name="visible">True</property>
<child type="action">
<child>
<object class="GtkButton" id="download_folder_button">
<property name="can_focus">True</property>
<property name="visible">True</property>
......@@ -101,7 +89,7 @@
<property name="title" translatable="yes">Maximum active downloads</property>
<property name="subtitle" translatable="yes">Number of maximum parallel downloads at the same time</property>
<property name="visible">True</property>
<child type="action">
<child>
<object class="GtkSpinButton" id="max_downloads_spinbutton">
<property name="can_focus">True</property>
<property name="valign">center</property>
......@@ -121,8 +109,9 @@
<child>
<object class="HdyActionRow">
<property name="title" translatable="yes">New torrent added</property>
<property name="activatable_widget">notifications_new_torrent_switch</property>
<property name="visible">True</property>
<child type="action">
<child>
<object class="GtkSwitch" id="notifications_new_torrent_switch">
<property name="can_focus">True</property>
<property name="visible">True</property>
......@@ -134,8 +123,9 @@
<child>
<object class="HdyActionRow">
<property name="title" translatable="yes">Torrent completely downloaded</property>
<property name="activatable_widget">notifications_downloaded_switch</property>
<property name="visible">True</property>
<child type="action">
<child>
<object class="GtkSwitch" id="notifications_downloaded_switch">
<property name="can_focus">True</property>
<property name="visible">True</property>
......@@ -160,6 +150,7 @@
<child>
<object class="HdyActionRow">
<property name="title" translatable="yes">Allow encryption</property>
<property name="activatable_widget">encryption_clear_rbutton</property>
<property name="visible">True</property>
<child type="prefix">
<object class="GtkRadioButton" id="encryption_clear_rbutton">
......@@ -174,6 +165,7 @@
<child>
<object class="HdyActionRow">
<property name="title" translatable="yes">Prefer encryption</property>
<property name="activatable_widget">encryption_prefer_rbutton</property>
<property name="visible">True</property>
<child type="prefix">
<object class="GtkRadioButton" id="encryption_prefer_rbutton">
......@@ -189,6 +181,7 @@
<child>
<object class="HdyActionRow">
<property name="title" translatable="yes">Force encryption</property>
<property name="activatable_widget">encryption_force_rbutton</property>
<property name="visible">True</property>
<child type="prefix">
<object class="GtkRadioButton" id="encryption_force_rbutton">
......
......@@ -2,7 +2,7 @@ project(
'fragments', ['vala', 'c'],
version: '1.4',
license: 'GPL3',
meson_version: '>= 0.40.0'
meson_version: '>= 0.50.0'
)
......@@ -21,7 +21,7 @@ gobject_dep = dependency('gobject-2.0')
gio_dep = dependency('gio-2.0')
gio_unix_dep = dependency('gio-unix-2.0')
gtk_dep = dependency('gtk+-3.0', version : '>=3.20.10')
handy_dep = dependency('libhandy-0.0')
handy_dep = dependency('libhandy-1')
transmission_lib = meson.get_compiler('c').find_library('transmission')
transmission_vapi = meson.get_compiler('vala').find_library('transmission', dirs: vapi_dir)
transmission_dep = declare_dependency(
......
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