Skip to content

Commit

Permalink
update widgets
Browse files Browse the repository at this point in the history
Remove deprecation warnings
about HBox, VBox and HPaned.
Use more expressive widgets ids for boxes and panes
  • Loading branch information
ederag committed Dec 16, 2019
1 parent af084fb commit 2b0dc4b
Showing 1 changed file with 43 additions and 53 deletions.
96 changes: 43 additions & 53 deletions data/preferences.ui
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.4 -->
<interface>
<requires lib="gtk+" version="3.0"/>
<object class="GtkAdjustment" id="adjustment1">
<property name="lower">1</property>
<property name="upper">121</property>
<property name="value">5</property>
<property name="step_increment">1</property>
</object>
<requires lib="gtk+" version="3.10"/>
<object class="GtkTextBuffer" id="autocomplete_tags"/>
<object class="GtkWindow" id="window">
<property name="can_focus">False</property>
Expand All @@ -21,9 +15,10 @@
<property name="icon_name">hamster</property>
<signal name="key-press-event" handler="on_preferences_window_key_press" swapped="no"/>
<child>
<object class="GtkVBox" id="big_box">
<object class="GtkBox" id="big_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">8</property>
<child>
<object class="GtkNotebook" id="notebook1">
Expand All @@ -38,58 +33,49 @@
<property name="left_padding">4</property>
<property name="right_padding">4</property>
<child>
<object class="GtkVBox" id="vbox1">
<object class="GtkBox" id="tracking box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">20</property>
<property name="halign">start</property>
<property name="valign">start</property>
<property name="orientation">vertical</property>
<property name="spacing">8</property>
<child>
<object class="GtkAlignment" id="alignment4">
<object class="GtkBox" id="day-start box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="top_padding">4</property>
<property name="left_padding">4</property>
<property name="right_padding">4</property>
<child>
<object class="GtkHBox" id="hbox1">
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">New day starts at</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="padding">4</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkAlignment" id="day_start_placeholder">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">New day starts at</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="padding">4</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkAlignment" id="day_start_placeholder">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
<property name="position">2</property>
</packing>
</child>
</object>
Expand All @@ -115,9 +101,10 @@
<property name="left_padding">4</property>
<property name="right_padding">4</property>
<child>
<object class="GtkVBox" id="vbox2">
<object class="GtkBox" id="vbox2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">15</property>
<property name="homogeneous">True</property>
<child>
Expand All @@ -126,15 +113,16 @@
<property name="can_focus">False</property>
<property name="top_padding">6</property>
<child>
<object class="GtkHPaned" id="hpaned1">
<object class="GtkPaned" id="categories | activities pane">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkVBox" id="vbox4">
<object class="GtkBox" id="categories box">
<property name="width_request">150</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="orientation">vertical</property>
<property name="spacing">4</property>
<child>
<object class="GtkLabel" id="categories_label">
Expand All @@ -153,7 +141,7 @@
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow2">
<object class="GtkScrolledWindow" id="categories scrolledwindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
Expand Down Expand Up @@ -187,7 +175,7 @@
</packing>
</child>
<child>
<object class="GtkHBox" id="hbox3">
<object class="GtkBox" id="categories button box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">4</property>
Expand Down Expand Up @@ -283,10 +271,11 @@
</packing>
</child>
<child>
<object class="GtkVBox" id="vbox5">
<object class="GtkBox" id="Activities box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="orientation">vertical</property>
<property name="spacing">4</property>
<child>
<object class="GtkLabel" id="activities_label">
Expand Down Expand Up @@ -346,7 +335,7 @@
</packing>
</child>
<child>
<object class="GtkHBox" id="hbox2">
<object class="GtkBox" id="activities button box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">4</property>
Expand Down Expand Up @@ -526,10 +515,10 @@
</packing>
</child>
<child>
<object class="GtkHButtonBox" id="hbuttonbox3">
<object class="GtkBox" id="Bottom box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<property name="halign">end</property>
<child>
<object class="GtkButton" id="close_button">
<property name="label">gtk-close</property>
Expand All @@ -541,14 +530,15 @@
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
Expand Down

0 comments on commit 2b0dc4b

Please sign in to comment.