typo
This commit is contained in:
parent
5f8bffc03f
commit
6ac64ad577
3 changed files with 4 additions and 2 deletions
|
@ -653,7 +653,7 @@ class subscription_request_window:
|
||||||
class Join_groupchat_window:
|
class Join_groupchat_window:
|
||||||
def __init__(self, plugin, account, server='', room = ''):
|
def __init__(self, plugin, account, server='', room = ''):
|
||||||
if plugin.connected[account] < 2:
|
if plugin.connected[account] < 2:
|
||||||
Error_dialog(_('You must be connected to join a group chat'))
|
Error_dialog(_('You must be connected to join a groupchat'))
|
||||||
return
|
return
|
||||||
self.plugin = plugin
|
self.plugin = plugin
|
||||||
self.account = account
|
self.account = account
|
||||||
|
|
|
@ -487,6 +487,7 @@ class Groupchat_window(Chat):
|
||||||
self.show_title()
|
self.show_title()
|
||||||
|
|
||||||
def on_join_groupchat_window_key_press_event(self, widget, event):
|
def on_join_groupchat_window_key_press_event(self, widget, event):
|
||||||
|
print 'called'
|
||||||
if event.keyval == gtk.keysyms.Escape:
|
if event.keyval == gtk.keysyms.Escape:
|
||||||
widget.get_toplevel().destroy()
|
widget.get_toplevel().destroy()
|
||||||
|
|
||||||
|
@ -514,7 +515,7 @@ class Groupchat_window(Chat):
|
||||||
widget.get_selection().unselect_all()
|
widget.get_selection().unselect_all()
|
||||||
return False
|
return False
|
||||||
|
|
||||||
model = self.tree.get_model()
|
model = widget.get_model()
|
||||||
iter = model.get_iter(path)
|
iter = model.get_iter(path)
|
||||||
type = model.get_value(iter, 2)
|
type = model.get_value(iter, 2)
|
||||||
if (type == 'group' or type == 'account'):
|
if (type == 'group' or type == 'account'):
|
||||||
|
|
|
@ -7759,6 +7759,7 @@ Custom</property>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkScrolledWindow" id="scrolledwindow17">
|
<widget class="GtkScrolledWindow" id="scrolledwindow17">
|
||||||
|
<property name="width_request">100</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
|
<property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
|
||||||
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
||||||
|
|
Loading…
Add table
Reference in a new issue