[gnome-games/wip/exalm/prefs: 24/24] preferences-page-import-export: Migrate to HdyPreferencesGroup
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/prefs: 24/24] preferences-page-import-export: Migrate to HdyPreferencesGroup
- Date: Tue, 2 Jun 2020 11:11:36 +0000 (UTC)
commit 272e2cc7fcfe0e630ec3aa3f51a30828dc7aa746
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue May 12 23:03:50 2020 +0500
preferences-page-import-export: Migrate to HdyPreferencesGroup
data/ui/preferences-page-import-export.ui | 39 ++++---------------------------
1 file changed, 4 insertions(+), 35 deletions(-)
---
diff --git a/data/ui/preferences-page-import-export.ui b/data/ui/preferences-page-import-export.ui
index 0f3dd95b..5a6f70ba 100644
--- a/data/ui/preferences-page-import-export.ui
+++ b/data/ui/preferences-page-import-export.ui
@@ -4,24 +4,9 @@
<template class="GamesPreferencesPageImportExport" parent="GamesPreferencesPage">
<property name="visible">True</property>
<child>
- <object class="GtkLabel">
+ <object class="HdyPreferencesGroup">
<property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Export save states and in-game saves. This can be used for
moving the data to another device or for restoring it later. Desktop, Steam and LÖVE games cannot be
exported.</property>
- <property name="wrap">True</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- </child>
- <child>
- <object class="GtkListBox">
- <property name="visible">True</property>
- <property name="selection-mode">none</property>
- <style>
- <class name="rounded"/>
- <class name="separators"/>
- </style>
+ <property name="description" translatable="yes">Export save states and in-game saves. This can be
used for moving the data to another device or for restoring it later. Desktop, Steam and LÖVE games cannot be
exported.</property>
<child>
<object class="HdyActionRow">
<property name="visible">True</property>
@@ -41,25 +26,9 @@
</object>
</child>
<child>
- <object class="GtkLabel">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="margin-top">12</property>
- <property name="label" translatable="yes">Import save data for games from existing backup. This will
replace existing saves and cannot be undone.</property>
- <property name="wrap">True</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- </child>
- <child>
- <object class="GtkListBox">
+ <object class="HdyPreferencesGroup">
<property name="visible">True</property>
- <property name="selection-mode">none</property>
- <style>
- <class name="rounded"/>
- <class name="separators"/>
- </style>
+ <property name="description" translatable="yes">Import save data for games from existing backup.
This will replace existing saves and cannot be undone.</property>
<child>
<object class="HdyActionRow">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]