致命的 #589 » 0001-.patch
core/mui/gtk_inneruserlist.rb | ||
---|---|---|
45 | 45 |
# self |
46 | 46 |
def remove_user(users) |
47 | 47 |
type_strict users => Users |
48 |
model.select{ |model,path,iter|
|
|
49 |
users.include?(iter[COL_USER]) |
|
50 |
}.each &model.method(:remove)
|
|
48 |
Enumerator.new(model).each{ |model,path,iter|
|
|
49 |
if users.include?(iter[COL_USER])
|
|
50 |
model.remove(iter) end }
|
|
51 | 51 |
self end |
52 | 52 | |
53 | 53 |
# ユーザ user の順番を再計算する |