gnome: add contact/history sorting
Refs #73115
Change-Id: I7fee71c7ef330c705a010ed1aa75ff1ec1b6d426
diff --git a/ui/ringmainwindow.ui b/ui/ringmainwindow.ui
index 3d07d83..cdc2d4a 100644
--- a/ui/ringmainwindow.ui
+++ b/ui/ringmainwindow.ui
@@ -211,15 +211,14 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
- <property name="homogeneous">True</property>
<property name="margin-top">5</property>
<style>
<class name="linked"/>
</style>
<child>
<object class="GtkRadioButton" id="radiobutton_contacts">
- <property name="label" translatable="yes">contacts</property>
- <!-- TODO: make visible when feature ready -->
+ <property name="label" translatable="yes">Contacts</property>
+ <property name="tooltip-text">Contacts</property>
<property name="visible">True</property>
<property name="image">image_contacts</property>
<property name="draw_indicator">False</property>
@@ -228,7 +227,8 @@
</child>
<child>
<object class="GtkRadioButton" id="radiobutton_history">
- <property name="label" translatable="yes">history</property>
+ <property name="label" translatable="yes">History</property>
+ <property name="tooltip-text">History</property>
<property name="visible">True</property>
<property name="image">image_history</property>
<property name="draw_indicator">False</property>
@@ -238,7 +238,8 @@
</child>
<child>
<object class="GtkRadioButton" id="radiobutton_presence">
- <property name="label" translatable="yes">online</property>
+<!-- <property name="label" translatable="yes">online</property> -->
+ <property name="tooltip-text">Presence</property>
<!-- TODO: make visible when feature ready -->
<property name="visible">False</property>
<property name="image">image_presence</property>
@@ -247,6 +248,26 @@
</object>
<packing></packing>
</child>
+ <child>
+ <object class="GtkComboBox" id="combobox_history_sort">
+ <!-- set to visible when showing history view -->
+ <property name="visible">False</property>
+ <property name="can_focus">True</property>
+ <!-- TODO: save the selected sorting in settings -->
+ <property name="active">0</property>
+ </object>
+ <packing></packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="combobox_contacts_sort">
+ <!-- set to visible when showing contacts view -->
+ <property name="visible">False</property>
+ <property name="can_focus">True</property>
+ <!-- TODO: save the selected sorting in settings -->
+ <property name="active">0</property>
+ </object>
+ <packing></packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>