Skip to content

Commit

Permalink
Fix to save thread list column width for GTK3
Browse files Browse the repository at this point in the history
GTK3版のスレ一覧で列の幅が記憶されない不具合を修正する。

修正にあたり不具合報告をしていただきありがとうございました。
https://mao.5ch.net/test/read.cgi/linux/1551889442/43-47
  • Loading branch information
ma8ma committed May 4, 2019
1 parent 79e90c8 commit 1f1cba4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/board/boardviewbase.cpp
Original file line number Diff line number Diff line change
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 1f1cba4

Please sign in to comment.