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

Commits:

2 changed files:

Changes:

  • gajim/data/style/gajim.css
    ... ... @@ -96,11 +96,16 @@
    96 96
         border-bottom: 1px solid #4e9a06;
    
    97 97
     }
    
    98 98
     .workspace-add {
    
    99
    -    padding-left: 3px;
    
    99
    +    padding: 0 0 0 6px;
    
    100
    +    margin: 6px 12px;
    
    101
    +}
    
    102
    +.workspace-add image {
    
    103
    +    margin: 0px;
    
    104
    +    padding: 0px;
    
    100 105
         color: alpha(@theme_text_color, 0.7);
    
    101 106
         background-color: shade(@theme_base_color, 0.9);
    
    102 107
     }
    
    103
    -.workspace-sidebar-item:hover .workspace-add {
    
    108
    +.workspace-add:hover image {
    
    104 109
         background-color: shade(@theme_base_color, 0.85);
    
    105 110
     }
    
    106 111
     
    

  • gajim/gtk/workspace_side_bar.py
    ... ... @@ -271,12 +271,10 @@ def __init__(self, workspace_id):
    271 271
             CommonWorkspace.__init__(self, workspace_id)
    
    272 272
             self.set_selectable(False)
    
    273 273
             self.set_tooltip_text(_('Add Workspace'))
    
    274
    +        self.get_style_context().add_class('workspace-add')
    
    274 275
     
    
    275 276
             image = Gtk.Image.new_from_icon_name('list-add-symbolic',
    
    276 277
                                                  Gtk.IconSize.DND)
    
    277
    -        image.set_halign(Gtk.Align.CENTER)
    
    278
    -        image.set_margin_left(6)
    
    279
    -        image.get_style_context().add_class('workspace-add')
    
    280 278
             self.add(image)
    
    281 279
             self.show_all()
    
    282 280