Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package servicetray for openSUSE:Factory 
checked in at 2026-07-23 23:16:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/servicetray (Old)
 and      /work/SRC/openSUSE:Factory/.servicetray.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "servicetray"

Thu Jul 23 23:16:15 2026 rev:3 rq:1367488 version:0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/servicetray/servicetray.changes  2026-01-23 
17:32:26.972418864 +0100
+++ /work/SRC/openSUSE:Factory/.servicetray.new.2004/servicetray.changes        
2026-07-23 23:19:01.938633038 +0200
@@ -1,0 +2,5 @@
+Thu Jul 23 15:20:05 UTC 2026 - Dominik Heidler <[email protected]>
+
+- Version 0.3: Fix too heigh menu entries
+
+-------------------------------------------------------------------

Old:
----
  servicetray-0.2.tar.gz

New:
----
  servicetray-0.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ servicetray.spec ++++++
--- /var/tmp/diff_new_pack.4zNbfS/_old  2026-07-23 23:19:02.538654057 +0200
+++ /var/tmp/diff_new_pack.4zNbfS/_new  2026-07-23 23:19:02.542654198 +0200
@@ -19,7 +19,7 @@
 %define use_python python3
 %define pythons %{use_python}
 Name:           servicetray
-Version:        0.2
+Version:        0.3
 Release:        0
 Summary:        Tool to start and stop systemd services as a normal user via a 
tray applet
 License:        GPL-3.0-or-later

++++++ servicetray-0.2.tar.gz -> servicetray-0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/servicetray/servicetray.py 
new/servicetray/servicetray.py
--- old/servicetray/servicetray.py      2026-01-22 16:14:10.000000000 +0100
+++ new/servicetray/servicetray.py      2026-07-23 17:18:17.000000000 +0200
@@ -5,7 +5,7 @@
 from PySide6.QtWidgets import (
     QApplication, QSystemTrayIcon, QMenu,
     QWidgetAction, QWidget, QPushButton,
-    QHBoxLayout
+    QHBoxLayout, QSizePolicy
 )
 from PySide6.QtGui import QIcon, QCursor
 from PySide6.QtCore import QTimer
@@ -30,12 +30,14 @@
     action = QWidgetAction(menu)
 
     container = QWidget()
+    container.setFixedHeight(26)
     layout = QHBoxLayout(container)
     layout.setContentsMargins(0, 0, 0, 0)
     layout.setSpacing(0)
 
     label_text, label_cb = callbacks.pop(0)
     lbl = QPushButton(label_text)
+    lbl.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
     lbl.setStyleSheet("""
         QPushButton {
             font-size: 14px;
@@ -57,6 +59,7 @@
     for btn_text, callback in callbacks:
         btn = QPushButton(btn_text)
         btn.setFixedWidth(25)
+        btn.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Expanding)
         btn.clicked.connect(callback)
         btn.setStyleSheet("""
             QPushButton {

Reply via email to