Fix crash when conversation scrolled window child changes.
This is a workaround for GTK+ Bug 778190. * src/client/conversation-viewer/conversation-viewer.vala (ConversationViewer): Replace the whole conversation scrolled window when changing the conversation, not just the viewport. * ui/conversation-viewer.ui: Remove the ScrolledWindow for now since we are constructing it manually.
This commit is contained in:
parent
ca3452b840
commit
07966a1156
2 changed files with 25 additions and 28 deletions
|
|
@ -39,6 +39,7 @@
|
|||
<object class="GtkGrid" id="conversation_page">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkSearchBar" id="conversation_find_bar">
|
||||
<property name="visible">True</property>
|
||||
|
|
@ -119,23 +120,7 @@
|
|||
</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>
|
||||
<style>
|
||||
<class name=".geary-conversation-scroller"/>
|
||||
</style>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">1</property>
|
||||
</packing>
|
||||
<placeholder/>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue