Daniel Brötzmann pushed to branch mainwindow at gajim / gajim

Commits:

3 changed files:

Changes:

  • gajim/gtk/conversation/jump_to_end_button.py
    ... ... @@ -57,13 +57,14 @@ def __init__(self):
    57 57
             self.show_all()
    
    58 58
     
    
    59 59
             self._count = 0
    
    60
    +        self.set_no_show_all(True)
    
    60 61
     
    
    61 62
         def _on_jump_clicked(self, _button):
    
    62 63
             self.emit('clicked')
    
    63 64
     
    
    64 65
         def toggle(self, visible):
    
    65 66
             if visible:
    
    66
    -            self.show_all()
    
    67
    +            self.show()
    
    67 68
             else:
    
    68 69
                 self.hide()
    
    69 70
                 self.reset_unread_count()
    

  • gajim/gtk/groupchat_state.py
    ... ... @@ -48,6 +48,7 @@ def set_joining(self):
    48 48
     
    
    49 49
         def set_joined(self):
    
    50 50
             self.hide()
    
    51
    +        self.set_no_show_all(True)
    
    51 52
     
    
    52 53
         def set_not_joined(self):
    
    53 54
             self._ui.groupchat_state.set_visible_child_name('not-joining')
    

  • gajim/gtk/main.py
    ... ... @@ -396,6 +396,8 @@ def _add_chat(self, _action, param):
    396 396
     
    
    397 397
         def add_chat(self, account, jid, type_, select=False):
    
    398 398
             workspace_id = self.get_active_workspace()
    
    399
    +        if workspace_id is None:
    
    400
    +            workspace_id = self._workspace_side_bar.get_first_workspace()
    
    399 401
             self._chat_page.add_chat_for_workspace(workspace_id,
    
    400 402
                                                    account,
    
    401 403
                                                    jid,