Daniel Brötzmann pushed to branch mainwindow at gajim / gajim
Commits:
c3defe4b by wurstsalat at 2021-03-09T20:05:57+01:00
RosterTooltip: Remove old idle time remnant
- - - - -
2 changed files:
- gajim/data/gui/roster_tooltip.ui
- gajim/gtk/tooltips.py
Changes:
=====================================
gajim/data/gui/roster_tooltip.ui
=====================================
@@ -2,7 +2,7 @@
<!-- Generated with glade 3.38.2 -->
<interface>
<requires lib="gtk+" version="3.24"/>
- <!-- n-columns=2 n-rows=9 -->
+ <!-- n-columns=2 n-rows=8 -->
<object class="GtkGrid" id="tooltip_grid">
<property name="visible">True</property>
<property name="can-focus">False</property>
@@ -192,32 +192,6 @@
<property name="top-attach">7</property>
</packing>
</child>
- <child>
- <object class="GtkLabel" id="idle_since_label">
- <property name="visible">True</property>
- <property name="can-focus">False</property>
- <property name="halign">end</property>
- <property name="valign">start</property>
- <property name="label" translatable="yes">Idle since:</property>
- </object>
- <packing>
- <property name="left-attach">0</property>
- <property name="top-attach">8</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="idle_since">
- <property name="visible">True</property>
- <property name="can-focus">False</property>
- <property name="halign">start</property>
- <property name="valign">start</property>
- <property name="hexpand">True</property>
- </object>
- <packing>
- <property name="left-attach">1</property>
- <property name="top-attach">8</property>
- </packing>
- </child>
<child>
<!-- n-columns=2 n-rows=1 -->
<object class="GtkGrid" id="resource_grid">
=====================================
gajim/gtk/tooltips.py
=====================================
@@ -184,7 +184,7 @@ def _populate_grid(self, contact):
# This sets the bottom-most widget to expand, in case the avatar
# takes more space than the labels
row_count = 1
- while row_count < 9:
+ while row_count < 8:
widget = self._ui.tooltip_grid.get_child_at(1, row_count)
if widget and widget.get_visible():
last_widget = widget
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/c3defe4b397c189e32cbf3a8306dc6e65fff1c6a
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/c3defe4b397c189e32cbf3a8306dc6e65fff1c6a
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits