Logo Search packages:      
Sourcecode: pan version File versions  Download package

void PostUI::body_view_realized_cb ( GtkWidget *  ,
gpointer  self_gpointer 
) [static, private]

We hold off on setting the body textbuffer until after the text view is realized so that GtkTreeView's text wrapping will work properly.

Definition at line 1570 of file post-ui.cc.

{
  PostUI * self = static_cast<PostUI*>(self_gpointer);
  self->set_wrap_mode (self->_prefs.get_flag ("compose-wrap-enabled", true));
  self->set_message (self->_message);
  self->_unchanged_body = self->get_body ();

  if (self->_prefs.get_flag ("always-run-editor", false))
    self->spawn_editor ();

  g_signal_handler_disconnect (self->_body_view, self->body_view_realized_handler);
}


Generated by  Doxygen 1.6.0   Back to index