[gnome-todo/wip/sadiq/fixes: 3/3] ui: Simplify
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo/wip/sadiq/fixes: 3/3] ui: Simplify
- Date: Tue, 11 Dec 2018 16:27:10 +0000 (UTC)
commit 4b858623a739e3db64112399669d22042ee72734
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Wed Dec 5 10:19:36 2018 +0530
ui: Simplify
since GTK4, widgets are visible by default.
data/ui/dnd-row.ui | 3 ---
data/ui/edit-pane.ui | 17 -----------------
data/ui/empty-list.ui | 4 ----
data/ui/initial-setup.ui | 7 -------
data/ui/list-view.ui | 5 -----
data/ui/notification.ui | 6 ------
data/ui/plugin-dialog.ui | 8 --------
data/ui/plugin-row.ui | 8 --------
data/ui/provider-popover.ui | 14 --------------
data/ui/provider-row.ui | 6 ------
data/ui/provider-selector.ui | 16 ----------------
data/ui/sidebar-list-row.ui | 10 ----------
data/ui/sidebar-panel-row.ui | 4 ----
data/ui/sidebar-provider-row.ui | 8 --------
data/ui/sidebar.ui | 3 ---
data/ui/task-row.ui | 10 ----------
data/ui/window.ui | 16 ----------------
17 files changed, 145 deletions(-)
---
diff --git a/data/ui/dnd-row.ui b/data/ui/dnd-row.ui
index cf779b7..53826c5 100644
--- a/data/ui/dnd-row.ui
+++ b/data/ui/dnd-row.ui
@@ -9,18 +9,15 @@
<property name="margin">3</property>
<child>
<object class="GtkBox" id="box">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkFrame" id='frame'>
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="expand">True</property>
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="margin_end">20</property>
<property name="margin_top">20</property>
<property name="margin_bottom">20</property>
diff --git a/data/ui/edit-pane.ui b/data/ui/edit-pane.ui
index eb9139d..9c39418 100644
--- a/data/ui/edit-pane.ui
+++ b/data/ui/edit-pane.ui
@@ -2,7 +2,6 @@
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="GtdEditPane" parent="GtkBox">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
@@ -14,7 +13,6 @@
<!-- Header separator -->
<child>
<object class="GtkSeparator" id="separator">
- <property name="visible">True</property>
<property name="can_focus">False</property>
</object>
</child>
@@ -26,7 +24,6 @@
<property name="label" translatable="yes">D_ue Date</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">date_button</property>
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="margin-top">12</property>
@@ -38,13 +35,11 @@
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">_Today</property>
<property name="use_underline">True</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked" handler="on_today_button_clicked_cb" object="GtdEditPane" swapped="no" />
@@ -54,7 +49,6 @@
<object class="GtkButton">
<property name="label" translatable="yes">To_morrow</property>
<property name="use_underline">True</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked" handler="on_tomorrow_button_clicked_cb" object="GtdEditPane"
swapped="no"/>
@@ -62,25 +56,21 @@
</child>
<child>
<object class="GtkMenuButton" id="date_button">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="popover">date_popover</property>
<child>
<object class="GtkBox" id="date_button_box">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">7</property>
<child>
<object class="GtkLabel" id="date_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="width-chars">10</property>
</object>
</child>
<child>
<object class="GtkImage" id="date_button_image">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">pan-down-symbolic</property>
</object>
@@ -101,7 +91,6 @@
<property name="label" translatable="yes">_Notes</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">notes_textview</property>
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="margin-top">12</property>
@@ -112,14 +101,12 @@
</child>
<child>
<object class="GtkScrolledWindow">
- <property name="visible">True</property>
<property name="expand">True</property>
<property name="can-focus">True</property>
<property name="shadow-type">in</property>
<property name="min-content-height">200</property>
<child>
<object class="GtkTextView" id="notes_textview">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="accepts_tab">False</property>
<property name="left-margin">6</property>
@@ -149,7 +136,6 @@
<object class="GtkButton" id="remove_button">
<property name="label" translatable="yes">_Delete</property>
<property name="use_underline">True</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="vexpand">True</property>
@@ -174,14 +160,12 @@
<property name="position">bottom</property>
<child>
<object class="GtkBox" id="date_popover_box">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="margin">12</property>
<property name="spacing">12</property>
<child>
<object class="GtkCalendar" id="calendar">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="show_week_numbers">True</property>
<signal name="day-selected" handler="on_date_selected_cb" object="GtdEditPane" swapped="no"/>
@@ -190,7 +174,6 @@
<child>
<object class="GtkButton" id="no_date_button">
<property name="label" translatable="yes" context="taskdate">None</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<signal name="clicked" handler="on_no_date_button_clicked_cb" object="GtdEditPane" swapped="no"/>
diff --git a/data/ui/empty-list.ui b/data/ui/empty-list.ui
index 165fa81..3718d9d 100644
--- a/data/ui/empty-list.ui
+++ b/data/ui/empty-list.ui
@@ -2,13 +2,11 @@
<interface>
<requires lib="gtk+" version="3.20"/>
<template class="GtdEmptyListWidget" parent="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkImage" id="icon">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">18</property>
<property name="vexpand">True</property>
@@ -20,7 +18,6 @@
</child>
<child>
<object class="GtkLabel" id="title_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -30,7 +27,6 @@
</child>
<child>
<object class="GtkLabel" id="subtitle_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<style>
<class name="dim-label"/>
diff --git a/data/ui/initial-setup.ui b/data/ui/initial-setup.ui
index 9656784..466be7c 100644
--- a/data/ui/initial-setup.ui
+++ b/data/ui/initial-setup.ui
@@ -11,7 +11,6 @@
<property name="default_height">600</property>
<child>
<object class="GtkBox" id="box">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">center</property>
<property name="margin_bottom">48</property>
@@ -20,7 +19,6 @@
<property name="spacing">18</property>
<child>
<object class="GtkLabel" id="welcome_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Welcome</property>
<style>
@@ -35,7 +33,6 @@
</child>
<child>
<object class="GtkLabel" id="subtitle_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Log in to online accounts to access your
tasks</property>
<style>
@@ -50,7 +47,6 @@
</child>
<child>
<object class="GtdStorageSelector" id="storage_selector">
- <property name="visible">True</property>
<property name="receives_default">True</property>
<property name="width_request">400</property>
<property name="valign">center</property>
@@ -62,14 +58,12 @@
</child>
<child type="titlebar">
<object class="GtkHeaderBar" id="headerbar">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="title" translatable="yes">To Do Setup</property>
<child>
<object class="GtkButton" id="cancel_button">
<property name="label" translatable="yes">_Cancel</property>
<property name="use_underline">True</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked" handler="gtd_initial_setup_window__button_clicked"
object="GtdInitialSetupWindow" swapped="yes"/>
@@ -79,7 +73,6 @@
<object class="GtkButton" id="done_button">
<property name="label" translatable="yes">_Done</property>
<property name="use_underline">True</property>
- <property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
diff --git a/data/ui/list-view.ui b/data/ui/list-view.ui
index 8a75d86..baca0ec 100644
--- a/data/ui/list-view.ui
+++ b/data/ui/list-view.ui
@@ -2,18 +2,15 @@
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="GtdTaskListView" parent="GtkOverlay">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkBox" id="main_box">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="vexpand">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow" id="scrolled_window">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
@@ -22,7 +19,6 @@
<!-- Stack -->
<child>
<object class="GtkStack" id="stack">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="homogeneous">False</property>
<property name="expand">True</property>
@@ -69,7 +65,6 @@
<!-- Spinner -->
<child>
<object class="GtkSpinner">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="active">True</property>
<property name="width-request">96</property>
diff --git a/data/ui/notification.ui b/data/ui/notification.ui
index e235d43..4765728 100644
--- a/data/ui/notification.ui
+++ b/data/ui/notification.ui
@@ -2,7 +2,6 @@
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="GtdNotificationWidget" parent="GtkRevealer">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<!-- Event Controller -->
@@ -15,13 +14,11 @@
<child>
<object class="GtkFrame" id="frame">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
<child>
<object class="GtkBox" id="box">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
<child>
@@ -33,7 +30,6 @@
</child>
<child>
<object class="GtkLabel" id="text_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="use_markup">True</property>
@@ -44,7 +40,6 @@
</child>
<child>
<object class="GtkButton" id="secondary_button">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked" handler="on_secondary_button_clicked_cb"
object="GtdNotificationWidget" swapped="yes" />
@@ -52,7 +47,6 @@
</child>
<child>
<object class="GtkButton" id="close_button">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
diff --git a/data/ui/plugin-dialog.ui b/data/ui/plugin-dialog.ui
index c9d95c3..48a4f72 100644
--- a/data/ui/plugin-dialog.ui
+++ b/data/ui/plugin-dialog.ui
@@ -15,24 +15,20 @@
<property name="orientation">vertical</property>
<child>
<object class="GtkStack" id="stack">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="interpolate_size">True</property>
<child>
<object class="GtkScrolledWindow">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="propagate_natural_width">True</property>
<child>
<object class="GtkViewport">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="shadow_type">none</property>
<child>
<object class="GtkListBox" id="listbox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="selection_mode">none</property>
<style>
@@ -49,7 +45,6 @@
</child>
<child>
<object class="GtkFrame" id="frame">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="shadow_type">none</property>
</object>
@@ -78,7 +73,6 @@
</child>
</template>
<object class="GtkBox" id="extension_list_placeholder">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
@@ -88,7 +82,6 @@
<property name="spacing">18</property>
<child>
<object class="GtkImage">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">64</property>
<property name="icon_name">preferences-system-symbolic</property>
@@ -99,7 +92,6 @@
</child>
<child>
<object class="GtkLabel">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">No extensions found</property>
<style>
diff --git a/data/ui/plugin-row.ui b/data/ui/plugin-row.ui
index 269b27e..a013990 100644
--- a/data/ui/plugin-row.ui
+++ b/data/ui/plugin-row.ui
@@ -3,17 +3,14 @@
<interface>
<requires lib="gtk+" version="3.18"/>
<template class="GtdPluginDialogRow" parent="GtkListBoxRow">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkGrid">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin">12</property>
<property name="column_spacing">12</property>
<child>
<object class="GtkImage" id="icon_image">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">32</property>
<property name="icon_name">application-system-symbolic</property>
@@ -26,7 +23,6 @@
</child>
<child>
<object class="GtkLabel" id="name_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
@@ -38,7 +34,6 @@
</child>
<child>
<object class="GtkLabel" id="description_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
@@ -68,7 +63,6 @@
</child>
<child>
<object class="GtkSwitch" id="loaded_switch">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="valign">center</property>
<signal name="notify::active" handler="loaded_switch_changed" object="GtdPluginDialogRow"
swapped="yes" />
@@ -81,7 +75,6 @@
</child>
<child>
<object class="GtkButton" id="preferences_button">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="sensitive">False</property>
<property name="halign">center</property>
@@ -92,7 +85,6 @@
</style>
<child>
<object class="GtkImage">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">preferences-system-symbolic</property>
<property name="pixel_size">16</property>
diff --git a/data/ui/provider-popover.ui b/data/ui/provider-popover.ui
index c93ff96..9e24a62 100644
--- a/data/ui/provider-popover.ui
+++ b/data/ui/provider-popover.ui
@@ -6,7 +6,6 @@
<signal name="closed" handler="gtd_provider_popover__closed" swapped="no" />
<child>
<object class="GtkStack" id="stack">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin">18</property>
<property name="vhomogeneous">False</property>
@@ -15,7 +14,6 @@
<property name="transition_type">slide-left-right</property>
<child>
<object class="GtkGrid" id="new_list_popover_grid">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="row_spacing">12</property>
@@ -24,7 +22,6 @@
<object class="GtkButton" id="new_list_create_button">
<property name="label" translatable="yes">Create _List</property>
<property name="use_underline">True</property>
- <property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -42,7 +39,6 @@
<object class="GtkButton" id="new_list_cancel_button">
<property name="label" translatable="yes">_Cancel</property>
<property name="use_underline">True</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked" handler="gtd_provider_popover__action_button_clicked"
object="GtdProviderPopover" swapped="yes" />
@@ -54,7 +50,6 @@
</child>
<child>
<object class="GtkLabel" id="new_list_popover_dim_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">List Name</property>
<property name="xalign">0</property>
@@ -70,11 +65,9 @@
</child>
<child>
<object class="GtkBox" id="location_box">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEntry" id="new_list_name_entry">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="width_chars">35</property>
@@ -84,14 +77,12 @@
</child>
<child>
<object class="GtkButton" id="change_location_button">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="sensitive">True</property>
<signal name="clicked" handler="gtd_provider_popover__change_location_clicked"
object="GtdProviderPopover" swapped="yes" />
<child>
<object class="GtkImage" id="location_provider_image">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">16</property>
<property name="icon_name">goa-account</property>
@@ -116,17 +107,14 @@
</child>
<child>
<object class="GtkGrid" id="selector_grid">
- <property name="visible">True</property>
<property name="column_spacing">12</property>
<property name="row_spacing">12</property>
<child>
<object class="GtkButton" id="back_button">
- <property name="visible">True</property>
<property name="halign">start</property>
<signal name="clicked" handler="gtd_provider_popover__change_location_clicked"
object="GtdProviderPopover" swapped="yes" />
<child>
<object class="GtkImage" id="back_image">
- <property name="visible">True</property>
<property name="icon-name">go-previous-symbolic</property>
<property name="pixel-size">16</property>
</object>
@@ -140,7 +128,6 @@
</child>
<child>
<object class="GtkLabel" id="title_label">
- <property name="visible">True</property>
<property name="hexpand">True</property>
<property name="label" translatable="yes">Select a storage location</property>
</object>
@@ -152,7 +139,6 @@
</child>
<child>
<object class="GtdProviderSelector" id="provider_selector">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="show_local">True</property>
<property name="select_default">True</property>
diff --git a/data/ui/provider-row.ui b/data/ui/provider-row.ui
index 5c0f603..7e3338d 100644
--- a/data/ui/provider-row.ui
+++ b/data/ui/provider-row.ui
@@ -3,12 +3,10 @@
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="GtdProviderRow" parent="GtkListBoxRow">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selectable">False</property>
<child>
<object class="GtkGrid" id="grid">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin">12</property>
<property name="column_spacing">12</property>
@@ -26,7 +24,6 @@
</child>
<child>
<object class="GtkLabel" id="name">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
@@ -41,7 +38,6 @@
</child>
<child>
<object class="GtkImage" id="icon">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">32</property>
<property name="icon_name">goa-account</property>
@@ -54,7 +50,6 @@
</child>
<child>
<object class="GtkLabel" id="description">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
</object>
@@ -65,7 +60,6 @@
</child>
<child>
<object class="GtkLabel" id="enabled">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Off</property>
</object>
diff --git a/data/ui/provider-selector.ui b/data/ui/provider-selector.ui
index fe7de44..aa6b393 100644
--- a/data/ui/provider-selector.ui
+++ b/data/ui/provider-selector.ui
@@ -2,18 +2,15 @@
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="GtdProviderSelector" parent="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkFrame" id="frame">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label_xalign">0</property>
<child>
<object class="GtkListBox" id="listbox">
- <property name="visible">True</property>
<property name="sensitive" bind-source="local_check" bind-property="active"
bind-flags="default|sync-create|invert-boolean" />
<property name="can_focus">False</property>
<property name="hexpand">True</property>
@@ -22,18 +19,15 @@
<signal name="row-activated" handler="gtd_provider_selector__listbox_row_activated"
object="GtdProviderSelector" swapped="yes" />
<child>
<object class="GtkListBoxRow" id="google_stub_row">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Click to add a new Google account</property>
<child>
<object class="GtkBox" id="google_stub_row_box">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin">12</property>
<property name="spacing">12</property>
<child>
<object class="GtkImage" id="google_stub_row_icon_image">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">32</property>
<property name="icon_name">goa-account-google</property>
@@ -41,7 +35,6 @@
</child>
<child>
<object class="GtkLabel" id="google_stub_row_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Google</property>
</object>
@@ -52,18 +45,15 @@
</child>
<child>
<object class="GtkListBoxRow" id="owncloud_stub_row">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Click to add a new ownCloud
account</property>
<child>
<object class="GtkBox" id="box3">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin">12</property>
<property name="spacing">12</property>
<child>
<object class="GtkImage" id="image2">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">32</property>
<property name="icon_name">goa-account-owncloud</property>
@@ -71,7 +61,6 @@
</child>
<child>
<object class="GtkLabel" id="label2">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">ownCloud</property>
</object>
@@ -82,18 +71,15 @@
</child>
<child>
<object class="GtkListBoxRow" id="exchange_stub_row">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Click to add a new Microsoft Exchange
account</property>
<child>
<object class="GtkBox" id="box4">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin">12</property>
<property name="spacing">12</property>
<child>
<object class="GtkImage" id="image3">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">32</property>
<property name="icon_name">goa-account</property>
@@ -101,7 +87,6 @@
</child>
<child>
<object class="GtkLabel" id="label3">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Microsoft Exchange</property>
</object>
@@ -117,7 +102,6 @@
<child>
<object class="GtkCheckButton" id="local_check">
<property name="label" translatable="yes">Or you can just store your tasks on this
computer</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="draw_indicator">True</property>
diff --git a/data/ui/sidebar-list-row.ui b/data/ui/sidebar-list-row.ui
index 9cdf06e..c4dc5a4 100644
--- a/data/ui/sidebar-list-row.ui
+++ b/data/ui/sidebar-list-row.ui
@@ -2,7 +2,6 @@
<interface>
<requires lib="gtk+" version="3.20"/>
<template class="GtdSidebarListRow" parent="GtkListBoxRow">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<!-- Gestures -->
@@ -24,7 +23,6 @@
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
@@ -33,7 +31,6 @@
<property name="spacing">6</property>
<child>
<object class="GtkImage" id="color_icon">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="width-request">12</property>
<property name="height-request">12</property>
@@ -46,7 +43,6 @@
</child>
<child>
<object class="GtkLabel" id="name_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
@@ -54,7 +50,6 @@
</child>
<child>
<object class="GtkLabel" id="tasks_counter_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<attributes>
<attribute name="scale" value="0.88"/>
@@ -77,7 +72,6 @@
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
@@ -85,7 +79,6 @@
<child>
<object class="GtkLabel" id="rename_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0.0</property>
@@ -97,14 +90,12 @@
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
<!-- Entry -->
<child>
<object class="GtkEntry" id="rename_entry">
- <property name="visible">True</property>
<signal name="activate" handler="on_rename_entry_activated_cb" object="GtdSidebarListRow"
swapped="no" />
<signal name="notify::text" handler="on_rename_entry_text_changed_cb"
object="GtdSidebarListRow" swapped="no" />
</object>
@@ -113,7 +104,6 @@
<!-- Button -->
<child>
<object class="GtkButton" id="rename_button">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Rename</property>
<signal name="clicked" handler="on_rename_button_clicked_cb" object="GtdSidebarListRow"
swapped="no" />
diff --git a/data/ui/sidebar-panel-row.ui b/data/ui/sidebar-panel-row.ui
index e792306..7d434c4 100644
--- a/data/ui/sidebar-panel-row.ui
+++ b/data/ui/sidebar-panel-row.ui
@@ -5,7 +5,6 @@
<property name="can_focus">True</property>
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
@@ -14,7 +13,6 @@
<property name="spacing">6</property>
<child>
<object class="GtkImage" id="panel_icon">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<style>
<class name="dim-label"/>
@@ -23,7 +21,6 @@
</child>
<child>
<object class="GtkLabel" id="title_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
@@ -31,7 +28,6 @@
</child>
<child>
<object class="GtkLabel" id="subtitle_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1.0</property>
<attributes>
diff --git a/data/ui/sidebar-provider-row.ui b/data/ui/sidebar-provider-row.ui
index 1d9b8c5..a852723 100644
--- a/data/ui/sidebar-provider-row.ui
+++ b/data/ui/sidebar-provider-row.ui
@@ -8,7 +8,6 @@
<property name="margin_top">6</property>
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_start">6</property>
<property name="margin_end">6</property>
@@ -17,7 +16,6 @@
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_start">6</property>
<property name="margin_end">6</property>
@@ -26,7 +24,6 @@
<!-- Main label -->
<child>
<object class="GtkLabel" id="provider_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0.0</property>
@@ -43,7 +40,6 @@
<!-- Stack with the loading spinner & pan-down arrow -->
<child>
<object class="GtkStack" id="stack">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="homogeneous">True</property>
<property name="transition-type">crossfade</property>
@@ -51,7 +47,6 @@
<!-- Loading spinner -->
<child>
<object class="GtkSpinner">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="active">True</property>
</object>
@@ -63,7 +58,6 @@
<!-- Drop down icon -->
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
@@ -78,7 +72,6 @@
<child>
<object class="GtkSeparator">
- <property name="visible">True</property>
<property name="can_focus">False</property>
</object>
</child>
@@ -86,7 +79,6 @@
<!-- Loading label -->
<child>
<object class="GtkLabel" id="loading_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
diff --git a/data/ui/sidebar.ui b/data/ui/sidebar.ui
index 83d593a..54ab93c 100644
--- a/data/ui/sidebar.ui
+++ b/data/ui/sidebar.ui
@@ -1,12 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtdSidebar" parent="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">False</property>
<child>
<object class="GtkScrolledWindow">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="min-content-width">300</property>
<property name="hscrollbar-policy">never</property>
@@ -15,7 +13,6 @@
<!-- Listbox -->
<child>
<object class="GtkListBox" id="listbox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="expand">True</property>
<property name="selection_mode">browse</property>
diff --git a/data/ui/task-row.ui b/data/ui/task-row.ui
index f06b639..9ea74ef 100644
--- a/data/ui/task-row.ui
+++ b/data/ui/task-row.ui
@@ -2,7 +2,6 @@
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="GtdTaskRow" parent="GtkBin">
- <property name="visible">True</property>
<property name="halign">center</property>
<!-- Controllers -->
@@ -19,13 +18,11 @@
<child>
<object class="GtkBox" id="content_box">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin-end">18</property>
<property name="margin-start">5</property>
@@ -37,14 +34,12 @@
<!-- Box with DnD margin -->
<child>
<object class="GtkBox" id="dnd_box">
- <property name="visible">True</property>
<property name="can_focus">False</property>
</object>
</child>
<child>
<object class="GtkImage" id="dnd_icon">
- <property name="visible">True</property>
<property name="icon-name">drag-handle-symbolic</property>
<property name="pixel-size">16</property>
<signal name="drag-begin" handler="on_drag_begin_cb" object="GtdTaskRow" swapped="no" />
@@ -67,7 +62,6 @@
<!-- Done checkbutton -->
<child>
<object class="GtkCheckButton" id="done_check">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="halign">center</property>
@@ -81,7 +75,6 @@
<child>
<object class="GtkBox" id="header_event_box">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<signal name="drag-begin" handler="on_drag_begin_cb" object="GtdTaskRow" swapped="no" />
<signal name="drag-end" handler="on_drag_end_cb" object="GtdTaskRow" swapped="no" />
@@ -97,7 +90,6 @@
<!-- Task title entry -->
<child>
<object class="GtdExpandableEntry" id="title_entry">
- <property name="visible">True</property>
<property name="hexpand">True</property>
<property name="halign">start</property>
<property name="width-chars">5</property>
@@ -112,7 +104,6 @@
<child>
<object class="GtkLabel" id="task_date_label">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1.0</property>
<property name="margin-start">6</property>
@@ -142,7 +133,6 @@
<!-- Edit Panel revealer -->
<child>
<object class="GtkRevealer" id="edit_panel_revealer">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="transition_type">slide-down</property>
<property name="transition_duration">250</property>
diff --git a/data/ui/window.ui b/data/ui/window.ui
index f51a312..31b8872 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -11,11 +11,9 @@
</style>
<child>
<object class="GtkOverlay" id="overlay">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<child type="overlay">
<object class="GtdNotificationWidget" id="notification_widget">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">start</property>
@@ -23,13 +21,11 @@
</child>
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<!-- Sidebar -->
<child>
<object class="GtdSidebar" id="sidebar">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="vexpand">True</property>
</object>
@@ -38,7 +34,6 @@
<!-- Main list -->
<child>
<object class="GtkStack" id="stack">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="expand">True</property>
<property name="homogeneous">False</property>
@@ -56,24 +51,20 @@
</child>
<child type="titlebar">
<object class="GtkBox">
- <property name="visible">True</property>
<!-- First headerbar -->
<child>
<object class="GtkHeaderBar" id="start_headerbar">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkMenuButton">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="popover">new_list_popover</property>
<property name="halign">start</property>
<child>
<object class="GtkLabel">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">_New List</property>
<property name="use_underline">True</property>
@@ -97,7 +88,6 @@
<child>
<object class="GtkSeparator">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
</object>
</child>
@@ -105,13 +95,11 @@
<!-- Second headerbar -->
<child>
<object class="GtkHeaderBar" id="headerbar">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="show-title-buttons">True</property>
<child>
<object class="GtkBox" id="panel_box_start">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
</object>
@@ -121,7 +109,6 @@
</child>
<child>
<object class="GtkBox" id="extension_box_start">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
</object>
@@ -145,7 +132,6 @@
</child>
<child>
<object class="GtkMenuButton" id="gear_menu_button">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="icon-name">view-more-symbolic</property>
</object>
@@ -155,7 +141,6 @@
</child>
<child>
<object class="GtkBox" id="panel_box_end">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
</object>
@@ -165,7 +150,6 @@
</child>
<child>
<object class="GtkBox" id="extension_box_end">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]