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

Commits:

2 changed files:

Changes:

  • gajim/gtk/controls/base.py
    ... ... @@ -999,7 +999,9 @@ def drag_data_file_transfer(self, selection: Gtk.SelectionData) -> None:
    999 999
             for uri in uri_splitted:
    
    1000 1000
                 path = get_file_path_from_dnd_dropped_uri(uri)
    
    1001 1001
                 if not os.path.isfile(path):  # is it a file?
    
    1002
    -                self.add_info_message(_("The following file could not be accessed and was not uploaded: ") + path)
    
    1002
    +                self.add_info_message(
    
    1003
    +                    _('The following file could not be accessed and was '
    
    1004
    +                      'not uploaded: %s') % path)
    
    1003 1005
                     continue
    
    1004 1006
     
    
    1005 1007
                 self._start_filetransfer(path)
    

  • gajim/gtk/conversation/rows/read_marker.py
    ... ... @@ -24,6 +24,7 @@
    24 24
     class ReadMarkerRow(BaseRow):
    
    25 25
         def __init__(self, account, contact):
    
    26 26
             BaseRow.__init__(self, account, widget='label')
    
    27
    +        self.set_activatable(False)
    
    27 28
             self.type = 'read_marker'
    
    28 29
             self.timestamp = datetime.fromtimestamp(0)
    
    29 30
             self._last_incoming_timestamp = datetime.fromtimestamp(0)
    
    ... ... @@ -34,6 +35,7 @@ def __init__(self, account, contact):
    34 35
             self.label.set_text(text)
    
    35 36
             self.label.set_halign(Gtk.Align.CENTER)
    
    36 37
             self.label.set_hexpand(True)
    
    38
    +        self.label.set_sensitive(False)
    
    37 39
             self.label.get_style_context().add_class(
    
    38 40
                 'conversation-read-marker')
    
    39 41
             self.grid.attach(self.label, 0, 0, 1, 1)