Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
27175d60 by wurstsalat at 2022-06-06T10:48:46+02:00
fix: WorkspaceDialog: Show correct settings for workspace if there is only one
Fixes #10950
- - - - -
1 changed file:
- gajim/gtk/workspace_dialog.py
Changes:
=====================================
gajim/gtk/workspace_dialog.py
=====================================
@@ -56,8 +56,12 @@ def __init__(self, workspace_id: Optional[str] = None) -> None:
color: Optional[str] = None
self._avatar_sha: Optional[str] = None
- workspaces = app.settings.get_workspaces()
- if workspace_id is None or len(workspaces) == 1:
+ if len(app.settings.get_workspaces()) == 1:
+ # Don't allow to remove last workspace
+ self._ui.remove_workspace_button.set_sensitive(False)
+
+ if workspace_id is None:
+ # This is a new workspace
self._ui.remove_workspace_button.set_sensitive(False)
else:
name = app.settings.get_workspace_setting(
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/27175d60ddf5c029f0ada1fd63e65ebb…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/27175d60ddf5c029f0ada1fd63e65ebb…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
329739a9 by lovetox at 2022-06-03T09:38:13+02:00
ci: Update debian control file
Add python3-pil to the build dependencys, it is needed for running tests
- - - - -
1 changed file:
- debian/control
Changes:
=====================================
debian/control
=====================================
@@ -13,6 +13,7 @@ Build-Depends:
python3-gi-cairo,
python3-nbxmpp-nightly (>=20220501),
python3-setuptools,
+ python3-pil,
gir1.2-gtk-3.0,
Rules-Requires-Root: no
Standards-Version: 4.1.4
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/329739a98b25a86dcea4f2f960711cfe…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/329739a98b25a86dcea4f2f960711cfe…
You're receiving this email because of your account on dev.gajim.org.