Skip to content

Commit

Permalink
Merge pull request #74 from ma8ma/fix-save-thread-list-col-width
Browse files Browse the repository at this point in the history
Fix to save thread list column width for GTK3
  • Loading branch information
yama-natuki committed May 12, 2019
2 parents 5fae8ce + 1f1cba4 commit 7cbc86b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/board/boardviewbase.cpp
Expand Up @@ -652,6 +652,10 @@ void BoardViewBase::update_columns()

// ヘッダをクリックしたときに呼ぶslot
column->signal_clicked().connect( sigc::bind< int >( sigc::mem_fun( *this, &BoardViewBase::slot_col_clicked ), id ) );
#if GTKMM_CHECK_VERSION(3,0,0)
// 列の幅が変わったらセッション情報に記憶する
column->connect_property_changed( "width", [this]{ save_column_width(); } );
#endif

// ヘッダの位置
switch( id ){
Expand Down

0 comments on commit 7cbc86b

Please sign in to comment.