fix typo in ban

This commit is contained in:
Nikos Kouremenos 2005-08-19 10:41:56 +00:00
parent 4abf4f53b3
commit 15359f8fe1
2 changed files with 3 additions and 3 deletions

View File

@ -682,14 +682,14 @@ class GroupchatWindow(chat.Chat):
splitted_text_after_ban_command = text_after_ban_command.split()
if len(splitted_text_after_ban_command) == 1:
# reason is optional so accept just nick
nick_to_ban = splitted_text_after_msg_command[0]
nick_to_ban = splitted_text_after_ban_command[0]
if nick_to_ban in nicks:
fjid = gajim.construct_fjid(room_jid, nick_to_ban)
gajim.connections[self.account].gc_set_affiliation(room_jid,
fjid, 'outcast')
elif len(splitted_text_after_ban_command) >= 2:
# a reason was given
nick_to_ban = splitted_text_after_msg_command[0]
nick_to_ban = splitted_text_after_ban_command[0]
if nick_to_ban in nicks:
reason = splitted_text_after_msg_command[1:]
fjid = gajim.construct_fjid(room_jid, nick_to_ban)

View File

@ -4341,7 +4341,7 @@
<child>
<widget class="GtkLabel" id="label240">
<property name="visible">True</property>
<property name="label" translatable="yes">&lt;b&gt;Notifications&lt;/b&gt;</property>
<property name="label" translatable="yes">&lt;b&gt;Visual Notifications&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>