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


Commits:
e1113e0a by wurstsalat at 2024-12-19T21:07:40+01:00
cfix: WorkspaceDialog: Fix displaying correct stack page on init

- - - - -


1 changed file:

- gajim/gtk/workspace_dialog.py


Changes:

=====================================
gajim/gtk/workspace_dialog.py
=====================================
@@ -60,13 +60,12 @@ def __init__(self, workspace_id: str | None = None) -> None:
 
         rgba = make_rgba(color or DEFAULT_WORKSPACE_COLOR)
         if self._avatar_sha is not None:
-            self._ui.image_switch.set_state(True)
+            self._ui.image_switch.set_active(True)
             self._ui.style_stack.set_visible_child_name("image")
 
         self._ui.entry.set_text(name)
 
-        color_dialog = Gtk.ColorDialog()
-        self._ui.color_dialog_button.set_dialog(color_dialog)
+        self._ui.color_dialog_button.set_dialog(Gtk.ColorDialog())
         self._ui.color_dialog_button.set_rgba(rgba)
 
         self._update_avatar()



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/e1113e0a0d6b3a2bf1403fd3c925aec64525a548

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/e1113e0a0d6b3a2bf1403fd3c925aec64525a548
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to