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


Commits:
16da0b65 by wurstsalat at 2025-01-20T23:06:14+01:00
cfix: DebugConsole: Fix Account Wizard label; fix initial search toggle 
sensitivity

- - - - -


2 changed files:

- gajim/data/gui/debug_console.ui
- gajim/gtk/debug_console.py


Changes:

=====================================
gajim/data/gui/debug_console.ui
=====================================
@@ -275,6 +275,7 @@
     <child>
       <object class="GtkToggleButton" id="search_toggle">
         <property name="focusable">1</property>
+        <property name="sensitive">0</property>
         <property name="receives-default">1</property>
         <property name="margin-start">6</property>
         <child>


=====================================
gajim/gtk/debug_console.py
=====================================
@@ -458,7 +458,7 @@ def _get_accounts() -> list[tuple[str | None, str]]:
         for account in accounts:
             label = app.get_account_label(account)
             combo_accounts.append((account, label))
-        combo_accounts.append(("AccountWizard", "Account Wizard"))
+        combo_accounts.append(("AccountWizard", _("Account Wizard")))
         return combo_accounts
 
     def _on_filter_options(self, _button: Gtk.Button) -> None:
@@ -599,7 +599,7 @@ def _on_stanza_sent(self, event: StanzaSent):
 
     def _print_stanza(self, event: StanzaReceived | StanzaSent, kind: str) -> 
None:
         if event.account == "AccountWizard":
-            account_label = "Account Wizard"
+            account_label = _("Account Wizard")
         else:
             account_label = app.get_account_label(event.account)
 



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/16da0b65c052673c8bf10640292dbce77182b1d8
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