diff options
author | toshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8> | 2012-09-14 15:32:59 +0000 |
---|---|---|
committer | toshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8> | 2012-09-14 15:32:59 +0000 |
commit | 75b1412c3e06aa80fab8706245a74cac02079865 (patch) | |
tree | 88d7eeb5a3d1167090c5e5f996b9341faa88839f /core/plugin.rb | |
parent | 18e4c7f73f052852b9ba15827966945565937821 (diff) | |
download | mikutter-75b1412c3e06aa80fab8706245a74cac02079865.tar.gz |
設定画面をつけた
git-svn-id: svn://toshia.dip.jp/mikutter/trunk@907 03aab468-d3d2-4883-8b12-f661bbf03fa8
Diffstat (limited to 'core/plugin.rb')
-rw-r--r-- | core/plugin.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/plugin.rb b/core/plugin.rb index 21023ad9..67693129 100644 --- a/core/plugin.rb +++ b/core/plugin.rb @@ -498,9 +498,8 @@ class Plugin # - String name タイトル # - Proc &place 設定画面を作る無名関数 def settings(name, &place) - Plugin.call(:settings, name, place) filter_defined_settings do |tabs| - [tabs.melt << [name, place]] end end + [tabs.melt << [name, place, @name]] end end private |