conversation-viewer.ui 7.61 KB
Newer Older
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
<interface>
4
  <requires lib="gtk+" version="3.14"/>
5
  <template class="ConversationViewer" parent="GtkStack">
6
    <property name="name">conversation_viewer</property>
7 8 9 10
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <property name="transition_type">crossfade</property>
    <child>
11
      <object class="GtkSpinner" id="loading_page">
12 13
        <property name="width_request">32</property>
        <property name="height_request">32</property>
14 15
        <property name="visible">True</property>
        <property name="can_focus">False</property>
16 17
        <property name="halign">center</property>
        <property name="valign">center</property>
18 19
      </object>
      <packing>
20
        <property name="name">loading_page</property>
21 22 23
      </packing>
    </child>
    <child>
24
      <object class="GtkGrid" id="no_conversations_page">
25 26
        <property name="visible">True</property>
        <property name="can_focus">False</property>
27 28 29 30
        <property name="orientation">vertical</property>
        <child>
          <placeholder/>
        </child>
31 32
      </object>
      <packing>
33
        <property name="name">no_conversations_page</property>
34 35 36 37
        <property name="position">1</property>
      </packing>
    </child>
    <child>
38
      <object class="GtkGrid" id="conversation_page">
39
        <property name="visible">True</property>
40
        <property name="can_focus">False</property>
41
        <property name="orientation">vertical</property>
42
        <child>
43 44 45 46 47
          <object class="GtkSearchBar" id="conversation_find_bar">
            <property name="visible">True</property>
            <property name="app_paintable">True</property>
            <property name="can_focus">False</property>
            <property name="hexpand">True</property>
48
            <signal name="notify::search-mode-enabled" handler="on_find_mode_changed" swapped="no"/>
49 50 51 52 53 54 55 56 57 58 59 60
            <child>
              <object class="GtkGrid">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <child>
                  <object class="GtkSearchEntry" id="conversation_find_entry">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="primary_icon_name">edit-find-symbolic</property>
                    <property name="primary_icon_activatable">False</property>
                    <property name="primary_icon_sensitive">False</property>
                    <property name="placeholder_text" translatable="yes">Find in conversation</property>
61
                    <property name="width_chars">28</property>
62
                    <signal name="search-changed" handler="on_find_text_changed" swapped="no"/>
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
                  </object>
                  <packing>
                    <property name="left_attach">0</property>
                    <property name="top_attach">0</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkButton" id="conversation_find_prev">
                    <property name="sensitive">False</property>
                    <property name="can_focus">True</property>
                    <property name="receives_default">True</property>
                    <property name="no_show_all">True</property>
                    <property name="tooltip_text" translatable="yes">Find the previous occurrence of the search string.</property>
                    <signal name="clicked" handler="on_find_prev" swapped="no"/>
                    <child>
                      <object class="GtkImage">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="icon_name">go-up-symbolic</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left_attach">1</property>
                    <property name="top_attach">0</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkButton" id="conversation_find_next">
                    <property name="sensitive">False</property>
                    <property name="can_focus">True</property>
                    <property name="receives_default">True</property>
                    <property name="no_show_all">True</property>
                    <property name="tooltip_text" translatable="yes">Find the next occurrence of the search string.</property>
                    <signal name="activate" handler="on_find_next" swapped="no"/>
                    <child>
                      <object class="GtkImage">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="icon_name">go-down-symbolic</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left_attach">2</property>
                    <property name="top_attach">0</property>
                  </packing>
                </child>
                <style>
                  <class name="linked"/>
                </style>
              </object>
            </child>
          </object>
          <packing>
            <property name="left_attach">0</property>
            <property name="top_attach">0</property>
          </packing>
        </child>
        <child>
123
          <placeholder/>
124 125 126 127 128 129 130 131
        </child>
      </object>
      <packing>
        <property name="name">conversation_page</property>
        <property name="position">2</property>
      </packing>
    </child>
    <child>
132
      <object class="GtkGrid" id="multiple_conversations_page">
133 134 135 136
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <child>
137
          <placeholder/>
138 139 140
        </child>
      </object>
      <packing>
141
        <property name="name">multiple_conversations_page</property>
142 143 144
        <property name="position">3</property>
      </packing>
    </child>
145
    <child>
146
      <object class="GtkGrid" id="empty_folder_page">
147 148 149 150 151 152 153 154 155 156 157 158 159
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <child>
          <placeholder/>
        </child>
      </object>
      <packing>
        <property name="name">empty_folder_page</property>
        <property name="position">4</property>
      </packing>
    </child>
    <child>
160
      <object class="GtkGrid" id="empty_search_page">
161 162 163 164 165 166 167 168 169 170 171 172
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <child>
          <placeholder/>
        </child>
      </object>
      <packing>
        <property name="name">empty_search_page</property>
        <property name="position">5</property>
      </packing>
    </child>
173
    <child>
174
      <object class="GtkGrid" id="composer_page">
175 176 177 178 179 180 181 182 183
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <child>
          <placeholder/>
        </child>
      </object>
      <packing>
        <property name="name">composer_page</property>
184
        <property name="position">6</property>
185 186
      </packing>
    </child>
187 188
  </template>
</interface>