conversation-viewer.ui 8.19 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
        <property name="active">True</property>
19 20
      </object>
      <packing>
21
        <property name="name">loading_page</property>
22 23 24
      </packing>
    </child>
    <child>
25
      <object class="GtkGrid" id="no_conversations_page">
26 27
        <property name="visible">True</property>
        <property name="can_focus">False</property>
28 29 30 31
        <property name="orientation">vertical</property>
        <child>
          <placeholder/>
        </child>
32 33
      </object>
      <packing>
34
        <property name="name">no_conversations_page</property>
35 36 37 38
        <property name="position">1</property>
      </packing>
    </child>
    <child>
39
      <object class="GtkGrid" id="conversation_page">
40
        <property name="visible">True</property>
41
        <property name="can_focus">False</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
                    <signal name="search-changed" handler="on_find_text_changed" swapped="no"/>
62 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 123 124 125 126 127 128 129 130
                  </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>
          <object class="GtkScrolledWindow" id="conversation_scroller">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="hexpand">True</property>
            <property name="vexpand">True</property>
            <property name="hscrollbar_policy">never</property>
            <child>
              <placeholder/>
            </child>
131 132 133
            <style>
              <class name=".geary-conversation-scroller"/>
            </style>
134 135 136 137 138
          </object>
          <packing>
            <property name="left_attach">0</property>
            <property name="top_attach">1</property>
          </packing>
139 140 141 142 143 144 145 146
        </child>
      </object>
      <packing>
        <property name="name">conversation_page</property>
        <property name="position">2</property>
      </packing>
    </child>
    <child>
147
      <object class="GtkGrid" id="multiple_conversations_page">
148 149 150 151
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <child>
152
          <placeholder/>
153 154 155
        </child>
      </object>
      <packing>
156
        <property name="name">multiple_conversations_page</property>
157 158 159
        <property name="position">3</property>
      </packing>
    </child>
160
    <child>
161
      <object class="GtkGrid" id="empty_folder_page">
162 163 164 165 166 167 168 169 170 171 172 173 174
        <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>
175
      <object class="GtkGrid" id="empty_search_page">
176 177 178 179 180 181 182 183 184 185 186 187
        <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>
188
    <child>
189
      <object class="GtkGrid" id="composer_page">
190 191 192 193 194 195 196 197 198
        <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>
199
        <property name="position">6</property>
200 201
      </packing>
    </child>
202 203
  </template>
</interface>