aboutsummaryrefslogtreecommitdiffstats
path: root/core/plugin.rb
diff options
context:
space:
mode:
authortoshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8>2011-12-05 17:13:29 +0000
committertoshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8>2011-12-05 17:13:29 +0000
commit7e328b7601b6539597daf8bd761d214b431d763f (patch)
tree80fe167e42b45c2a703f953a44a1bc0babfd461e /core/plugin.rb
parentcacb358f84e94e83f67db10335865100d3134fdf (diff)
downloadmikutter-7e328b7601b6539597daf8bd761d214b431d763f.tar.gz
設定のタブがいくつか表示されていない環境があった closes #386
git-svn-id: svn://toshia.dip.jp/mikutter/trunk@604 03aab468-d3d2-4883-8b12-f661bbf03fa8
Diffstat (limited to 'core/plugin.rb')
-rw-r--r--core/plugin.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/plugin.rb b/core/plugin.rb
index 6b5cd681..338f53fd 100644
--- a/core/plugin.rb
+++ b/core/plugin.rb
@@ -387,7 +387,8 @@ class Plugin
# - Proc &place 設定画面を作る無名関数
def settings(name, &place)
Plugin.call(:settings, name, place)
- end
+ filter_defined_settings do |tabs|
+ [tabs.melt << [name, place]] end end
private