aboutsummaryrefslogtreecommitdiff
path: root/main/data
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-04-03 19:20:31 +0200
committerfiaxh <git@mx.ax.lt>2017-04-03 19:48:01 +0200
commitea5d3e50c6fd63ae3a151c883f691e76b9cb1018 (patch)
tree633d269bd20fbfacfe8bea79f87cd3374d4199a0 /main/data
parent2a49d4a1aaf1d1fb644d3e4586989c696f657bcc (diff)
downloaddino-ea5d3e50c6fd63ae3a151c883f691e76b9cb1018.tar.gz
dino-ea5d3e50c6fd63ae3a151c883f691e76b9cb1018.zip
Start private conversation with MUC occupant via occupant menu
Diffstat (limited to 'main/data')
-rw-r--r--main/data/occupant_list.ui15
-rw-r--r--main/data/occupant_list_item.ui7
2 files changed, 9 insertions, 13 deletions
diff --git a/main/data/occupant_list.ui b/main/data/occupant_list.ui
index 384d9033..d899eb5f 100644
--- a/main/data/occupant_list.ui
+++ b/main/data/occupant_list.ui
@@ -1,25 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.22"/>
- <template class="DinoUiOccupantList">
+ <template class="DinoUiOccupantMenuList">
<property name="visible">True</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="visible">True</property>
<child>
- <object class="GtkToolbar">
- <property name="icon_size">1</property>
+ <object class="GtkToolItem">
<property name="visible">True</property>
<child>
- <object class="GtkToolItem">
+ <object class="GtkSearchEntry" id="search_entry">
+ <property name="margin">8</property>
<property name="visible">True</property>
- <child>
- <object class="GtkSearchEntry" id="search_entry">
- <property name="margin">5</property>
- <property name="visible">True</property>
- </object>
- </child>
</object>
</child>
</object>
@@ -28,7 +22,6 @@
<object class="GtkScrolledWindow">
<property name="max_content_height">500</property>
<property name="propagate_natural_height">True</property>
- <property name="margin">5</property>
<property name="visible">True</property>
<child>
<object class="GtkListBox" id="list_box">
diff --git a/main/data/occupant_list_item.ui b/main/data/occupant_list_item.ui
index 7a37f73b..b3689262 100644
--- a/main/data/occupant_list_item.ui
+++ b/main/data/occupant_list_item.ui
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <template class="DinoUiOccupantListRow" parent="GtkListBoxRow">
+ <template class="DinoUiOccupantMenuListRow" parent="GtkListBoxRow">
<property name="visible">True</property>
<child>
<object class="GtkGrid">
<property name="orientation">horizontal</property>
- <property name="margin">3</property>
+ <property name="margin-top">3</property>
+ <property name="margin-left">7</property>
+ <property name="margin-bottom">3</property>
+ <property name="margin-right">7</property>
<property name="column-spacing">10</property>
<property name="visible">True</property>
<child>