summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximiliano Sandoval R <msandova@gnome.org>2021-10-11 11:22:52 +0200
committerDavid King <amigadave@amigadave.com>2022-03-28 17:11:49 +0100
commite111e4f2428ebf3c008fdbe61731252febab1b36 (patch)
tree8f0517c2f9f56e08b9cf490618d6adf4227dacbe
parent4f982d8225e765048e3f8a310b07b524e469df06 (diff)
downloadgnome-logs-e111e4f2428ebf3c008fdbe61731252febab1b36.tar.gz
Remove all uses of visible=True and can-focus
Can focus should not be set explicitely in gtk4 as false is propagated to child widgets and the defaults are good.
-rw-r--r--data/gl-categorylist.ui17
-rw-r--r--data/gl-eventtoolbar.ui5
-rw-r--r--data/gl-eventviewdetail.ui31
-rw-r--r--data/gl-eventviewlist.ui10
-rw-r--r--data/gl-searchpopover.ui90
-rw-r--r--data/gl-window.ui4
-rw-r--r--data/help-overlay.ui9
7 files changed, 0 insertions, 166 deletions
diff --git a/data/gl-categorylist.ui b/data/gl-categorylist.ui
index 9c79dde..0aac8bd 100644
--- a/data/gl-categorylist.ui
+++ b/data/gl-categorylist.ui
@@ -4,10 +4,8 @@
<child>
<object class="GtkListBox" id="list_box">
<property name="selection-mode">browse</property>
- <property name="visible">True</property>
<child>
<object class="GtkListBoxRow" id="important">
- <property name="visible">True</property>
<style>
<class name="category"/>
</style>
@@ -15,7 +13,6 @@
<object class="GtkLabel" id="important_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Important</property>
- <property name="visible">True</property>
</object>
</child>
</object>
@@ -30,7 +27,6 @@
<object class="GtkLabel" id="alerts_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Alerts</property>
- <property name="visible">True</property>
</object>
</child>
</object>
@@ -45,14 +41,12 @@
<object class="GtkLabel" id="starred_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Starred</property>
- <property name="visible">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkListBoxRow" id="all">
- <property name="visible">True</property>
<style>
<class name="category"/>
</style>
@@ -60,14 +54,12 @@
<object class="GtkLabel" id="all_label">
<property name="halign">start</property>
<property name="label" translatable="yes">All</property>
- <property name="visible">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkListBoxRow" id="applications">
- <property name="visible">True</property>
<style>
<class name="category"/>
</style>
@@ -75,14 +67,12 @@
<object class="GtkLabel" id="applications_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Applications</property>
- <property name="visible">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkListBoxRow" id="system">
- <property name="visible">True</property>
<style>
<class name="category"/>
</style>
@@ -90,14 +80,12 @@
<object class="GtkLabel" id="system_label">
<property name="halign">start</property>
<property name="label" translatable="yes">System</property>
- <property name="visible">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkListBoxRow" id="security">
- <property name="visible">True</property>
<style>
<class name="category"/>
</style>
@@ -105,14 +93,12 @@
<object class="GtkLabel" id="security_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Security</property>
- <property name="visible">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkListBoxRow" id="hardware">
- <property name="visible">True</property>
<style>
<class name="category"/>
</style>
@@ -120,7 +106,6 @@
<object class="GtkLabel" id="hardware_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Hardware</property>
- <property name="visible">True</property>
</object>
</child>
</object>
@@ -135,7 +120,6 @@
<object class="GtkLabel" id="updates_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Updates</property>
- <property name="visible">True</property>
</object>
</child>
</object>
@@ -150,7 +134,6 @@
<object class="GtkLabel" id="usage_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Usage</property>
- <property name="visible">True</property>
</object>
</child>
</object>
diff --git a/data/gl-eventtoolbar.ui b/data/gl-eventtoolbar.ui
index 008394b..3f7ed7f 100644
--- a/data/gl-eventtoolbar.ui
+++ b/data/gl-eventtoolbar.ui
@@ -28,11 +28,9 @@
<child>
<object class="AdwHeaderBar" id="headerbar">
<property name="hexpand">True</property>
- <property name="visible">True</property>
<child type="end">
<object class="GtkMenuButton" id="main_menu">
<property name="valign">center</property>
- <property name="visible">True</property>
<property name="menu_model">primary-menu</property>
<property name="icon-name">open-menu-symbolic</property>
</object>
@@ -42,7 +40,6 @@
<property name="action-name">win.export</property>
<property name="tooltip-text" translatable="yes">Export logs to a file</property>
<property name="valign">center</property>
- <property name="visible">True</property>
<property name="icon-name">document-save-symbolic</property>
</object>
</child>
@@ -51,7 +48,6 @@
<property name="direction">none</property>
<property name="tooltip-text" translatable="yes">Choose the boot from which to view logs</property>
<property name="valign">center</property>
- <property name="visible">True</property>
<style>
<class name="title-menu-button"/>
</style>
@@ -62,7 +58,6 @@
<property name="action-name">win.search</property>
<property name="tooltip-text" translatable="yes">Search all the logs of the current category</property>
<property name="valign">center</property>
- <property name="visible">True</property>
<property name="icon-name">edit-find-symbolic</property>
</object>
</child>
diff --git a/data/gl-eventviewdetail.ui b/data/gl-eventviewdetail.ui
index 2e3106b..da38550 100644
--- a/data/gl-eventviewdetail.ui
+++ b/data/gl-eventviewdetail.ui
@@ -2,20 +2,15 @@
<interface domain="gnome-logs">
<template class="GlEventViewDetail" parent="GtkPopover">
<!-- The popover size is set such that it does not go beyond the window -->
- <property name="can_focus">False</property>
<signal name="closed" handler="gl_event_view_detail_popover_closed"/>
<child>
<object class="GtkScrolledWindow">
- <property name="visible">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="min-content-width">320</property>
<property name="min-content-height">300</property>
- <property name="can_focus">False</property>
<child>
<object class="GtkGrid" id="grid">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="column-spacing">12</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
@@ -24,7 +19,6 @@
<child>
<object class="GtkLabel" id="comm_field_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Sender</property>
<style>
@@ -40,7 +34,6 @@
<child>
<object class="GtkLabel" id="comm_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="hexpand">True</property>
<property name="selectable">True</property>
@@ -55,8 +48,6 @@
</child>
<child>
<object class="GtkLabel" id="time_field_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Time</property>
<style>
@@ -71,8 +62,6 @@
</child>
<child>
<object class="GtkLabel" id="time_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="hexpand">True</property>
<property name="selectable">True</property>
@@ -87,7 +76,6 @@
</child>
<child>
<object class="GtkLabel" id="message_field_label">
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="valign">baseline</property>
<property name="label" translatable="yes">Message</property>
@@ -103,7 +91,6 @@
</child>
<child>
<object class="GtkLabel" id="message_label">
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="valign">baseline</property>
<property name="selectable">True</property>
@@ -121,7 +108,6 @@
<child>
<object class="GtkLabel" id="audit_field_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Audit Session</property>
<style>
@@ -137,7 +123,6 @@
<child>
<object class="GtkLabel" id="audit_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="selectable">True</property>
<style>
@@ -152,7 +137,6 @@
<child>
<object class="GtkLabel" id="device_field_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Kernel Device</property>
<style>
@@ -168,7 +152,6 @@
<child>
<object class="GtkLabel" id="device_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="selectable">True</property>
<style>
@@ -182,8 +165,6 @@
</child>
<child>
<object class="GtkLabel" id="priority_field_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Priority</property>
<style>
@@ -198,8 +179,6 @@
</child>
<child>
<object class="GtkLabel" id="priority_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="selectable">True</property>
<style>
@@ -214,7 +193,6 @@
<child>
<object class="GtkLabel" id="subject_field_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="valign">baseline</property>
<property name="label" translatable="yes">Subject</property>
@@ -231,7 +209,6 @@
<child>
<object class="GtkLabel" id="subject_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="valign">baseline</property>
<property name="selectable">True</property>
@@ -249,7 +226,6 @@
<child>
<object class="GtkLabel" id="definedby_field_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Defined By</property>
<style>
@@ -265,7 +241,6 @@
<child>
<object class="GtkLabel" id="definedby_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="selectable">True</property>
<style>
@@ -280,7 +255,6 @@
<child>
<object class="GtkLabel" id="support_field_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="valign">baseline</property>
<property name="label" translatable="yes">Support</property>
@@ -297,7 +271,6 @@
<child>
<object class="GtkLabel" id="support_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="valign">baseline</property>
<property name="selectable">True</property>
@@ -315,7 +288,6 @@
<child>
<object class="GtkLabel" id="documentation_field_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Documentation</property>
<style>
@@ -331,7 +303,6 @@
<child>
<object class="GtkLabel" id="documentation_label">
<property name="visible">False</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="selectable">True</property>
<style>
@@ -345,8 +316,6 @@
</child>
<child>
<object class="GtkLabel" id="detailed_message_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="selectable">True</property>
<property name="wrap">True</property>
diff --git a/data/gl-eventviewlist.ui b/data/gl-eventviewlist.ui
index 5d67813..639ad34 100644
--- a/data/gl-eventviewlist.ui
+++ b/data/gl-eventviewlist.ui
@@ -2,10 +2,8 @@
<interface domain="gnome-logs">
<template class="GlEventViewList" parent="GtkBox">
<property name="orientation">horizontal</property>
- <property name="visible">True</property>
<child>
<object class="AdwFlap">
- <property name="visible">True</property>
<child type="flap">
<object class="GlCategoryList" id="categories">
<style>
@@ -16,34 +14,28 @@
<child type="separator">
<object class="GtkSeparator" id="content_separator">
<property name="orientation">vertical</property>
- <property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkBox" id="event_view">
<property name="orientation">vertical</property>
- <property name="visible">True</property>
<child>
<object class="GtkSearchBar" id="event_search">
- <property name="visible">True</property>
<signal name="notify::search-mode-enabled" handler="on_search_bar_notify_search_mode_enabled"/>
<child>
<object class="GtkBox" id="search_entry_box">
<property name="orientation">horizontal</property>
- <property name="visible">True</property>
<style>
<class name="linked"/>
</style>
<child>
<object class="GtkSearchEntry" id="search_entry">
- <property name="visible">True</property>
<signal name="search-changed" handler="on_search_entry_changed" />
</object>
</child>
<child>
<object class="GtkMenuButton" id="search_dropdown_button">
<property name="tooltip-text" translatable="yes">Select journal field and timestamp range filtering options</property>
- <property name="visible">True</property>
</object>
</child>
</object>
@@ -52,11 +44,9 @@
</child>
<child>
<object class="GtkScrolledWindow" id="event_scrolled">
- <property name="visible">True</property>
<property name="vexpand">True</property>
<child>
<object class="GtkListBox" id="entries_box">
- <property name="visible">True</property>
<property name="selection-mode">none</property>
</object>
</child>
diff --git a/data/gl-searchpopover.ui b/data/gl-searchpopover.ui
index 0b03be7..8a60b4c 100644
--- a/data/gl-searchpopover.ui
+++ b/data/gl-searchpopover.ui
@@ -4,7 +4,6 @@
<signal name="closed" handler="search_popover_closed"/>
<child>
<object class="GtkStack" id="menu_stack">
- <property name="visible">True</property>
<property name="vhomogeneous">False</property>
<property name="transition_duration">250</property>
<property name="transition_type">GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT</property>
@@ -13,12 +12,10 @@
<property name="name">main</property>
<property name="child">
<object class="GtkGrid" id="popover_grid">
- <property name="visible">True</property>
<property name="row_spacing">8</property>
<property name="column_spacing">18</property>
<child>
<object class="GtkStack" id="parameter_stack">
- <property name="visible">True</property>
<property name="vhomogeneous">False</property>
<property name="transition_type">crossfade</property>
<child>
@@ -26,17 +23,13 @@
<property name="name">parameter-button</property>
<property name="child">
<object class="GtkButton" id="select_parameter_button">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Select a Journal Field to filter the Logs according to it</property>
<signal name="clicked" handler="select_parameter_button_clicked"/>
<child>
<object class="GtkBox" id="parameter_filter_box">
- <property name="visible">True</property>
<child>
<object class="GtkLabel" id="parameter_button_label">
- <property name="visible">True</property>
<property name="hexpand">True</property>
<property name="label" translatable="yes">All Available Fields</property>
<property name="width_chars">30</property>
@@ -45,7 +38,6 @@
</child>
<child>
<object class="GtkImage" id="parameter_button_image">
- <property name="visible">True</property>
<property name="icon_name">pan-down-symbolic</property>
</object>
</child>
@@ -62,11 +54,8 @@
<object class="GtkScrolledWindow" id="parameter_scrolled_window">
<property name="has-frame">True</property>
<property name="height_request">150</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<child>
<object class="GtkTreeView" id="parameter_treeview">
- <property name="visible">True</property>
<property name="model">parameter_liststore</property>
<property name="headers-visible">False</property>
<property name="activate-on-single-click">True</property>
@@ -74,7 +63,6 @@
<child>
<object class="GtkTreeViewColumn" id="parameter-column">
<property name="title" translatable="yes">Parameters</property>
- <property name="visible">True</property>
<child>
<object class="GtkCellRendererText" id="test-renderer"/>
<attributes>
@@ -102,14 +90,12 @@
</child>
<child>
<object class="GtkStack" id="parameter_label_stack">
- <property name="visible">True</property>
<child>
<object class="GtkStackPage">
<property name="title">page0</property>
<property name="name">what-label</property>
<property name="child">
<object class="GtkLabel" id="what_dim_label">
- <property name="visible">True</property>
<property name="margin_top">10</property>
<property name="label" translatable="yes" comments="Translators: What [journal fields to search in]">What</property>
<property name="xalign">0</property>
@@ -126,7 +112,6 @@
<property name="name">select-parameter-label</property>
<property name="child">
<object class="GtkLabel" id="select_parameter_dim_label">
- <property name="visible">True</property>
<property name="margin_top">10</property>
<property name="label" translatable="yes">Select Journal Field…</property>
<property name="xalign">0</property>
@@ -145,14 +130,12 @@
</child>
<child>
<object class="GtkStack" id="range_label_stack">
- <property name="visible">True</property>
<child>
<object class="GtkStackPage">
<property name="name">when-label</property>
<property name="title">page0</property>
<property name="child">
<object class="GtkLabel" id="when_dim_label">
- <property name="visible">True</property>
<property name="label" translatable="yes" comments="When [log entries to be shown for a given timestamp range]">When</property>
<property name="xalign">0</property>
<style>
@@ -168,7 +151,6 @@
<property name="title">page1</property>
<property name="child">
<object class="GtkLabel" id="show_logs_from_dim_label">
- <property name="visible">True</property>
<property name="margin_top">10</property>
<property name="label" translatable="yes">Show Logs from…</property>
<property name="xalign">0</property>
@@ -187,7 +169,6 @@
</child>
<child>
<object class="GtkStack" id="range_stack">
- <property name="visible">True</property>
<property name="vhomogeneous">False</property>
<property name="transition_type">crossfade</property>
<child>
@@ -195,24 +176,19 @@
<property name="name">range-button</property>
<property name="child">
<object class="GtkButton" id="select_range_button">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Select Timestamp Range of the Log Entries to be shown</property>
<property name="hexpand">True</property>
<signal name="clicked" handler="select_range_button_clicked"/>
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<child>
<object class="GtkLabel" id="range_button_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Current Boot</property>
</object>
</child>
<child>
<object class="GtkImage" id="range_button_drop_down_image">
- <property name="visible">True</property>
<property name="icon_name">pan-down-symbolic</property>
</object>
</child>
@@ -230,12 +206,9 @@
<object class="GtkScrolledWindow" id="range_scrolled_window">
<property name="has-frame">True</property>
<property name="height_request">176</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="hexpand">True</property>
<child>
<object class="GtkTreeView" id="range_treeview">
- <property name="visible">True</property>
<property name="model">range_liststore</property>
<property name="headers-visible">False</property>
<property name="activate-on-single-click">True</property>
@@ -243,7 +216,6 @@
<child>
<object class="GtkTreeViewColumn" id="range-column">
<property name="title" translatable="yes">Parameters</property>
- <property name="visible">True</property>
<child>
<object class="GtkCellRendererText" id="range-text-renderer"/>
<attributes>
@@ -273,12 +245,10 @@
<object class="GtkRevealer" id="search_type_revealer">
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="spacing">8</property>
<child>
<object class="GtkLabel" id="search_type_dim_label">
- <property name="visible">True</property>
<property name="margin_top">10</property>
<property name="label" translatable="yes">Search Type</property>
<property name="xalign">0</property>
@@ -289,12 +259,9 @@
</child>
<child>
<object class="GtkBox">
- <property name="visible">True</property>
<child>
<object class="GtkCheckButton" id="checkbutton_substring">
<property name="label" translatable="yes">Substring</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Match in any part of the string</property>
<property name="hexpand">True</property>
@@ -304,8 +271,6 @@
<child>
<object class="GtkCheckButton" id="checkbutton_exact">
<property name="label" translatable="yes">Exact</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Match complete string only</property>
<property name="hexpand">True</property>
@@ -336,10 +301,8 @@
<property name="child">
<object class="GtkBox" id="set_custom_range_vbox">
<property name="orientation">vertical</property>
- <property name="visible">True</property>
<child>
<object class="GtkButton" id="submenu_back_button">
- <property name="visible">True</property>
<signal name="clicked" handler="custom_range_submenu_back_button_clicked"/>
<child>
<object class="GtkBox">
@@ -365,12 +328,10 @@
</child>
<child>
<object class="GtkGrid" id="start_end_date_time_grid">
- <property name="visible">True</property>
<property name="row_spacing">8</property>
<property name="column_spacing">18</property>
<child>
<object class="GtkLabel" id="start_date_dim_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Show Logs Starting From…</property>
<property name="xalign">0</property>
<style>
@@ -384,7 +345,6 @@
</child>
<child>
<object class="GtkStack" id="start_date_stack">
- <property name="visible">True</property>
<property name="transition_duration">250</property>
<property name="transition_type">crossfade</property>
<child>
@@ -392,24 +352,19 @@
<property name="name">start-date-button</property>
<property name="child">
<object class="GtkButton" id="start_date_button">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Select a start date</property>
<property name="hexpand">True</property>
<signal name="clicked" handler="start_date_button_clicked"/>
<child>
<object class="GtkBox" id="start_date_button_label_hbox">
- <property name="visible">True</property>
<child>
<object class="GtkLabel" id="start_date_button_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Select Start Date…</property>
</object>
</child>
<child>
<object class="GtkImage" id="start_date_button_drop_down_image">
- <property name="visible">True</property>
<property name="icon_name">pan-down-symbolic</property>
</object>
</child>
@@ -424,8 +379,6 @@
<property name="name">start-date-entry</property>
<property name="child">
<object class="GtkEntry" id="start_date_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="placeholder-text" translatable="yes">22 January 2016 or 1/22/2016</property>
<signal name="activate" handler="start_date_entry_activate"/>
</object>
@@ -442,8 +395,6 @@
<object class="GtkRevealer" id="start_date_calendar_revealer">
<child>
<object class="GtkCalendar" id="start_date_calendar">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="valign">start</property>
<property name="show_week_numbers">True</property>
<signal name="day-selected" handler="start_date_calendar_day_selected"/>
@@ -457,7 +408,6 @@
</child>
<child>
<object class="GtkStack" id="start_time_stack">
- <property name="visible">True</property>
<property name="transition_duration">250</property>
<property name="transition_type">crossfade</property>
<property name="vhomogeneous">False</property>
@@ -467,24 +417,19 @@
<property name="name">start-time-select-button</property>
<property name="child">
<object class="GtkButton" id="start_time_button">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Select start time</property>
<property name="hexpand">True</property>
<signal name="clicked" handler="start_time_button_clicked"/>
<child>
<object class="GtkBox" id="start_time_button_label_hbox">
- <property name="visible">True</property>
<child>
<object class="GtkLabel" id="start_time_button_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Select Start Time…</property>
</object>
</child>
<child>
<object class="GtkImage" id="start_time_button_drop_down_image">
- <property name="visible">True</property>
<property name="icon_name">pan-down-symbolic</property>
</object>
</child>
@@ -499,13 +444,11 @@
<property name="name">start-time-spinbutton</property>
<property name="child">
<object class="GtkGrid" id="start-time-spinbox-grid">
- <property name="visible">True</property>
<property name="row_spacing">15</property>
<property name="column_spacing">10</property>
<property name="column-homogeneous">True</property>
<child>
<object class="GtkLabel" id="start_time_hour_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Hr</property>
<style>
<class name="dim-label"/>
@@ -514,7 +457,6 @@
</child>
<child>
<object class="GtkSpinButton" id="start_time_hour_spin">
- <property name="visible">1</property>
<property name="orientation">vertical</property>
<property name="width_chars">2</property>
<property name="adjustment">start_time_hour_adjustment</property>
@@ -533,7 +475,6 @@
</child>
<child>
<object class="GtkLabel" id="start_time_minute_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Min</property>
<style>
<class name="dim-label"/>
@@ -546,7 +487,6 @@
</child>
<child>
<object class="GtkSpinButton" id="start_time_minute_spin">
- <property name="visible">1</property>
<property name="orientation">vertical</property>
<property name="width_chars">2</property>
<property name="adjustment">start_time_minute_adjustment</property>
@@ -565,7 +505,6 @@
</child>
<child>
<object class="GtkLabel" id="start_time_second_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Sec</property>
<style>
<class name="dim-label"/>
@@ -578,7 +517,6 @@
</child>
<child>
<object class="GtkSpinButton" id="start_time_second_spin">
- <property name="visible">1</property>
<property name="orientation">vertical</property>
<property name="width_chars">2</property>
<property name="adjustment">start_time_second_adjustment</property>
@@ -597,7 +535,6 @@
</child>
<child>
<object class="GtkLabel" id="start_time_period_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">AM/PM</property>
<style>
<class name="dim-label"/>
@@ -610,7 +547,6 @@
</child>
<child>
<object class="GtkSpinButton" id="start_time_period_spin">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="width_chars">2</property>
<property name="editable">True</property>
@@ -638,7 +574,6 @@
</child>
<child>
<object class="GtkLabel" id="end_date_dim_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Until…</property>
<property name="xalign">0</property>
<style>
@@ -652,7 +587,6 @@
</child>
<child>
<object class="GtkStack" id="end_date_stack">
- <property name="visible">True</property>
<property name="transition_duration">250</property>
<property name="transition_type">crossfade</property>
<child>
@@ -660,24 +594,19 @@
<property name="name">end-date-button</property>
<property name="child">
<object class="GtkButton" id="end_date_button">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Select an end date</property>
<property name="hexpand">True</property>
<signal name="clicked" handler="end_date_button_clicked"/>
<child>
<object class="GtkBox" id="end_date_button_label_hbox">
- <property name="visible">True</property>
<child>
<object class="GtkLabel" id="end_date_button_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Select End Date…</property>
</object>
</child>
<child>
<object class="GtkImage" id="end_date_button_drop_down_image">
- <property name="visible">True</property>
<property name="icon_name">pan-down-symbolic</property>
</object>
</child>
@@ -692,8 +621,6 @@
<property name="name">end-date-entry</property>
<property name="child">
<object class="GtkEntry" id="end_date_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="placeholder-text" translatable="yes">22 January 2016 or 1/22/2016</property>
<signal name="activate" handler="end_date_entry_activate"/>
</object>
@@ -710,8 +637,6 @@
<object class="GtkRevealer" id="end_date_calendar_revealer">
<child>
<object class="GtkCalendar" id="end_date_calendar">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="valign">start</property>
<property name="year">2016</property>
<property name="month">5</property>
@@ -728,7 +653,6 @@
</child>
<child>
<object class="GtkStack" id="end_time_stack">
- <property name="visible">True</property>
<property name="transition_duration">250</property>
<property name="transition_type">crossfade</property>
<property name="vhomogeneous">False</property>
@@ -738,24 +662,19 @@
<property name="name">end-time-select-button</property>
<property name="child">
<object class="GtkButton" id="end_time_button">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Select end time</property>
<property name="hexpand">True</property>
<signal name="clicked" handler="end_time_button_clicked"/>
<child>
<object class="GtkBox" id="end_time_button_label_hbox">
- <property name="visible">True</property>
<child>
<object class="GtkLabel" id="end_time_button_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Select End Time…</property>
</object>
</child>
<child>
<object class="GtkImage" id="end_time_button_drop_down_image">
- <property name="visible">True</property>
<property name="icon_name">pan-down-symbolic</property>
</object>
</child>
@@ -770,13 +689,11 @@
<property name="name">end-time-spinbutton</property>
<property name="child">
<object class="GtkGrid" id="end-time-spinbox-grid">
- <property name="visible">True</property>
<property name="row_spacing">15</property>
<property name="column_spacing">10</property>
<property name="column-homogeneous">True</property>
<child>
<object class="GtkLabel" id="end_time_hour_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Hr</property>
<style>
<class name="dim-label"/>
@@ -789,7 +706,6 @@
</child>
<child>
<object class="GtkSpinButton" id="end_time_hour_spin">
- <property name="visible">1</property>
<property name="orientation">vertical</property>
<property name="width_chars">2</property>
<property name="adjustment">end_time_hour_adjustment</property>
@@ -808,7 +724,6 @@
</child>
<child>
<object class="GtkLabel" id="end_time_minute_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Min</property>
<style>
<class name="dim-label"/>
@@ -821,7 +736,6 @@
</child>
<child>
<object class="GtkSpinButton" id="end_time_minute_spin">
- <property name="visible">1</property>
<property name="orientation">vertical</property>
<property name="width_chars">2</property>
<property name="adjustment">end_time_minute_adjustment</property>
@@ -840,7 +754,6 @@
</child>
<child>
<object class="GtkLabel" id="end_time_second_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">Sec</property>
<style>
<class name="dim-label"/>
@@ -853,7 +766,6 @@
</child>
<child>
<object class="GtkSpinButton" id="end_time_second_spin">
- <property name="visible">1</property>
<property name="orientation">vertical</property>
<property name="width_chars">2</property>
<property name="adjustment">end_time_second_adjustment</property>
@@ -872,7 +784,6 @@
</child>
<child>
<object class="GtkLabel" id="end_time_period_label">
- <property name="visible">True</property>
<property name="label" translatable="yes">AM/PM</property>
<style>
<class name="dim-label"/>
@@ -885,7 +796,6 @@
</child>
<child>
<object class="GtkSpinButton" id="end_time_period_spin">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="width_chars">2</property>
<property name="editable">True</property>
diff --git a/data/gl-window.ui b/data/gl-window.ui
index 297eb88..83f1a68 100644
--- a/data/gl-window.ui
+++ b/data/gl-window.ui
@@ -6,7 +6,6 @@
<child>
<object class="GtkBox" id="event_box">
<property name="orientation">vertical</property>
- <property name="visible">True</property>
<child>
<object class="GlEventToolbar" id="event_toolbar">
</object>
@@ -17,7 +16,6 @@
<property name="visible">False</property>
<child>
<object class="GtkBox" id="action_area">
- <property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="spacing">6</property>
<child>
@@ -28,7 +26,6 @@
</child>
<child>
<object class="GtkButton" id="help_button">
- <property name="visible">True</property>
<property name="halign">center</property>
<property name="label" translatable="yes">Help</property>
<signal name="clicked" handler="on_help_button_clicked" object="GlWindow"/>
@@ -36,7 +33,6 @@
</child>
<child>
<object class="GtkButton" id="ignore_button">
- <property name="visible">True</property>
<property name="halign">center</property>
<property name="label" translatable="yes">Ignore</property>
<signal name="clicked" handler="on_ignore_button_clicked" object="GlWindow"/>
diff --git a/data/help-overlay.ui b/data/help-overlay.ui
index 7287088..3615d4f 100644
--- a/data/help-overlay.ui
+++ b/data/help-overlay.ui
@@ -3,37 +3,31 @@
<object class="GtkShortcutsWindow" id="help_overlay">
<child>
<object class="GtkShortcutsSection">
- <property name="visible">True</property>
<child>
<object class="GtkShortcutsGroup">
<property name="title" translatable="yes" context="shortcut window">General</property>
- <property name="visible">True</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;n</property>
<property name="title" translatable="yes" context="shortcut window">Open a new window</property>
- <property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;w</property>
<property name="title" translatable="yes" context="shortcut window">Close a window</property>
- <property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">F1</property>
<property name="title" translatable="yes" context="shortcut window">Show help</property>
- <property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;question</property>
<property name="title" translatable="yes" context="shortcut window">Keyboard shortcuts</property>
- <property name="visible">True</property>
</object>
</child>
</object>
@@ -41,19 +35,16 @@
<child>
<object class="GtkShortcutsGroup">
<property name="title" translatable="yes" context="shortcut window">Application</property>
- <property name="visible">True</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;f</property>
<property name="title" translatable="yes" context="shortcut window">Find</property>
- <property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;e</property>
<property name="title" translatable="yes" context="shortcut window">Export logs to a file</property>
- <property name="visible">True</property>
</object>
</child>
</object>