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

Commits:

2 changed files:

Changes:

  • gajim/data/gui/roster_tooltip.ui
    ... ... @@ -2,7 +2,7 @@
    2 2
     <!-- Generated with glade 3.38.2 -->
    
    3 3
     <interface>
    
    4 4
       <requires lib="gtk+" version="3.24"/>
    
    5
    -  <!-- n-columns=2 n-rows=9 -->
    
    5
    +  <!-- n-columns=2 n-rows=8 -->
    
    6 6
       <object class="GtkGrid" id="tooltip_grid">
    
    7 7
         <property name="visible">True</property>
    
    8 8
         <property name="can-focus">False</property>
    
    ... ... @@ -192,32 +192,6 @@
    192 192
             <property name="top-attach">7</property>
    
    193 193
           </packing>
    
    194 194
         </child>
    
    195
    -    <child>
    
    196
    -      <object class="GtkLabel" id="idle_since_label">
    
    197
    -        <property name="visible">True</property>
    
    198
    -        <property name="can-focus">False</property>
    
    199
    -        <property name="halign">end</property>
    
    200
    -        <property name="valign">start</property>
    
    201
    -        <property name="label" translatable="yes">Idle since:</property>
    
    202
    -      </object>
    
    203
    -      <packing>
    
    204
    -        <property name="left-attach">0</property>
    
    205
    -        <property name="top-attach">8</property>
    
    206
    -      </packing>
    
    207
    -    </child>
    
    208
    -    <child>
    
    209
    -      <object class="GtkLabel" id="idle_since">
    
    210
    -        <property name="visible">True</property>
    
    211
    -        <property name="can-focus">False</property>
    
    212
    -        <property name="halign">start</property>
    
    213
    -        <property name="valign">start</property>
    
    214
    -        <property name="hexpand">True</property>
    
    215
    -      </object>
    
    216
    -      <packing>
    
    217
    -        <property name="left-attach">1</property>
    
    218
    -        <property name="top-attach">8</property>
    
    219
    -      </packing>
    
    220
    -    </child>
    
    221 195
         <child>
    
    222 196
           <!-- n-columns=2 n-rows=1 -->
    
    223 197
           <object class="GtkGrid" id="resource_grid">
    

  • gajim/gtk/tooltips.py
    ... ... @@ -184,7 +184,7 @@ def _populate_grid(self, contact):
    184 184
             # This sets the bottom-most widget to expand, in case the avatar
    
    185 185
             # takes more space than the labels
    
    186 186
             row_count = 1
    
    187
    -        while row_count < 9:
    
    187
    +        while row_count < 8:
    
    188 188
                 widget = self._ui.tooltip_grid.get_child_at(1, row_count)
    
    189 189
                 if widget and widget.get_visible():
    
    190 190
                     last_widget = widget