mirror of
https://github.com/pulb/mailnag.git
synced 2026-05-06 09:17:04 +02:00
Properly check windows controls
This commit is contained in:
@@ -74,7 +74,7 @@ class ConfigWindow:
|
||||
|
||||
self._headerbar = builder.get_object("headerbar")
|
||||
|
||||
if len(left) <= len(right):
|
||||
if left.count(",") <= right.count(","):
|
||||
self._headerbar.pack_start(self._switch_daemon_enabled)
|
||||
else:
|
||||
self._headerbar.pack_end(self._switch_daemon_enabled)
|
||||
|
||||
Reference in New Issue
Block a user