little bugfix in edit bookmarks window

This commit is contained in:
Yann Leboulanger 2005-06-09 21:05:58 +00:00
parent b1aa610c08
commit ceac638b89
1 changed files with 3 additions and 3 deletions

View File

@ -2411,7 +2411,7 @@ class ManageBookmarksWindow:
(model, iter) = self.selection.get_selected() (model, iter) = self.selection.get_selected()
if not iter: if not iter:
#Nothing selected, do nothing #Nothing selected, do nothing
pass return
#FIXME: ErrorDialog #FIXME: ErrorDialog
parent = model.iter_parent(iter) parent = model.iter_parent(iter)
@ -2435,7 +2435,7 @@ class ManageBookmarksWindow:
if not iter: if not iter:
#Nothing selected #Nothing selected
return return
elif not model.iter_parent(iter): if not model.iter_parent(iter):
#Don't remove account iters #Don't remove account iters
return return
@ -2493,4 +2493,4 @@ class ManageBookmarksWindow:
self.server_entry.set_text('') self.server_entry.set_text('')
self.pass_entry.set_text('') self.pass_entry.set_text('')
self.nick_entry.set_text('') self.nick_entry.set_text('')
self.autojoin_checkbutton.set_active(False)