Skip to content

Commit

Permalink
merge -r 1842:1843 legacy/jd-1
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.sourceforge.jp/svnroot/jd4linux/jd/trunk@1846 cb113865-1e22-0410-9cd3-9b64e74467e9
  • Loading branch information
jdsksy committed Feb 23, 2008
1 parent c9f2ba8 commit c996b54
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/article/articleviewbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void ArticleViewBase::setup_action()
{
// アクショングループを作ってUIマネージャに登録
action_group() = Gtk::ActionGroup::create();
action_group()->add( Gtk::Action::create( "BookMark", "ブックマーク設定/解除(_B)"), sigc::mem_fun( *this, &ArticleViewBase::slot_bookmark ) );
action_group()->add( Gtk::Action::create( "BookMark", "しおりを設定/解除(_B)"), sigc::mem_fun( *this, &ArticleViewBase::slot_bookmark ) );
action_group()->add( Gtk::Action::create( "OpenBrowser", "ブラウザで開く(_W)"), sigc::mem_fun( *this, &ArticleViewBase::slot_open_browser ) );
action_group()->add( Gtk::Action::create( "CopyURL", "URLをコピー(_U)"), sigc::mem_fun( *this, &ArticleViewBase::slot_copy_current_url ) );
action_group()->add( Gtk::Action::create( "CopyNAME", "名前コピー(_N)"), sigc::mem_fun( *this, &ArticleViewBase::slot_copy_name ) );
Expand Down Expand Up @@ -206,7 +206,7 @@ void ArticleViewBase::setup_action()
action_group()->add( Gtk::Action::create( "DrawoutRes", "レス抽出(_R)"), sigc::mem_fun( *this, &ArticleViewBase::slot_drawout_res ) );
action_group()->add( Gtk::Action::create( "DrawoutNAME", "名前抽出(_E)"), sigc::mem_fun( *this, &ArticleViewBase::slot_drawout_name ) );
action_group()->add( Gtk::Action::create( "DrawoutID", "ID抽出(_I)"), sigc::mem_fun( *this, &ArticleViewBase::slot_drawout_id ) );
action_group()->add( Gtk::Action::create( "DrawoutBM", "ブックマーク抽出(_B)"), sigc::mem_fun( *this, &ArticleViewBase::slot_drawout_bm ) );
action_group()->add( Gtk::Action::create( "DrawoutBM", "しおり抽出(_B)"), sigc::mem_fun( *this, &ArticleViewBase::slot_drawout_bm ) );
action_group()->add( Gtk::Action::create( "DrawoutURL", "URL抽出(_U)"), sigc::mem_fun( *this, &ArticleViewBase::slot_drawout_url ) );
action_group()->add( Gtk::Action::create( "DrawoutRefer", "参照抽出(_E)"), sigc::mem_fun( *this, &ArticleViewBase::slot_drawout_refer ) );
action_group()->add( Gtk::Action::create( "DrawoutAround", "周辺抽出(_A)"), sigc::mem_fun( *this, &ArticleViewBase::slot_drawout_around ) );
Expand Down Expand Up @@ -1256,7 +1256,7 @@ void ArticleViewBase::show_bm()
std::list< int > list_resnum = m_article->get_res_bm();

if( ! list_resnum.empty() ) append_res( list_resnum );
else append_html( "ブックマークはセットされていません" );
else append_html( "しおりはセットされていません" );
}


Expand Down
2 changes: 1 addition & 1 deletion src/article/articleviewetc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ void ArticleViewBM::show_view()
show_bm();

// ラベル更新
set_label( " [ ブックマーク ] - " + DBTREE::article_subject( url_article() ));
set_label( " [ しおり ] - " + DBTREE::article_subject( url_article() ));

// タブ更新
ARTICLE::get_admin()->set_command( "set_tablabel", get_url(), get_label() );
Expand Down
6 changes: 3 additions & 3 deletions src/board/boardview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ BoardView::BoardView( const std::string& url,const std::string& arg1, const std:
// ポップアップメニューの設定
// アクショングループを作ってUIマネージャに登録
action_group() = Gtk::ActionGroup::create();
action_group()->add( Gtk::Action::create( "BookMark", "ブックマーク設定/解除(_B)" ),
action_group()->add( Gtk::Action::create( "BookMark", "しおりを設定/解除(_B)" ),
sigc::bind< int >( sigc::mem_fun( *this, &BoardView::slot_bookmark ), BOOKMARK_AUTO ) );
action_group()->add( Gtk::Action::create( "SetBookMark", "ブックマーク設定(_S)" ), // 未使用
action_group()->add( Gtk::Action::create( "SetBookMark", "しおりを設定(_S)" ), // 未使用
sigc::bind< int >( sigc::mem_fun( *this, &BoardView::slot_bookmark ), BOOKMARK_SET ) );
action_group()->add( Gtk::Action::create( "UnsetBookMark", "ブックマーク解除(_U)" ), // 未使用
action_group()->add( Gtk::Action::create( "UnsetBookMark", "しおりを解除(_U)" ), // 未使用
sigc::bind< int >( sigc::mem_fun( *this, &BoardView::slot_bookmark ), BOOKMARK_UNSET ) );
action_group()->add( Gtk::Action::create( "OpenTab", "タブで開く(_T)" ), sigc::mem_fun( *this, &BoardView::slot_open_tab ) );
action_group()->add( Gtk::Action::create( "Favorite_Article", "スレをお気に入りに追加(_F)..." ), sigc::mem_fun( *this, &BoardView::slot_favorite_thread ) );
Expand Down
2 changes: 1 addition & 1 deletion src/dbtree/articlebase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ void ArticleBase::delete_cache( const bool cache_only )
if( empty() ) return;

if( ! cache_only && m_bookmarked_thread ){
SKELETON::MsgDiag mdiag( NULL, "" + get_subject() + "はブックマークされています\n\nスレを削除しますか?"
SKELETON::MsgDiag mdiag( NULL, "" + get_subject() + "にはしおりが付けられています\n\nスレを削除しますか?\n\nしおりを解除するにはスレの上で右クリックしてしおり解除を選択してください。"
,false, Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_YES_NO );
mdiag.set_default_response( Gtk::RESPONSE_YES );
if( mdiag.run() == Gtk::RESPONSE_NO ) return;
Expand Down
2 changes: 1 addition & 1 deletion src/fontcolorpref.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ FontColorPref::FontColorPref( Gtk::Window* parent, const std::string& url )
set_color_settings( "文字: メール欄(非sage)", COLOR_CHAR_AGE, "sage でないメール欄の文字色" );
set_color_settings( "文字: 選択範囲", COLOR_CHAR_SELECTION, "選択範囲の文字色" );
set_color_settings( "文字: ハイライト", COLOR_CHAR_HIGHLIGHT, "検索結果などのハイライトの文字色" );
set_color_settings( "文字: ブックマーク", COLOR_CHAR_BOOKMARK, "レスのブックマークの文字色" );
set_color_settings( "文字: しおり", COLOR_CHAR_BOOKMARK, "レスのしおりの文字色" );
set_color_settings( "文字: リンク(通常)", COLOR_CHAR_LINK, "通常のリンクや参照されていないレス番号、複数発言したIDの文字色" );
set_color_settings( "文字: リンク(参照)", COLOR_CHAR_LINK_LOW, "他のレスから参照されたレス番号の文字色" );
set_color_settings( "文字: リンク(多数)", COLOR_CHAR_LINK_HIGH, "参照された数が多いレス番号や多く発言したIDの文字色" );
Expand Down

0 comments on commit c996b54

Please sign in to comment.