Philipp Hörist pushed to branch master at gajim / gajim
Commits:
661c13b3 by wurstsalat at 2022-05-31T15:00:06+02:00
imprv: Windows: Change PANGOCAIRO backend to enable colored emojis
- - - - -
1 changed file:
- gajim/gtk/application.py
Changes:
=====================================
gajim/gtk/application.py
=====================================
@@ -208,6 +208,11 @@ def _get_remaining_entry():
return [option]
def _startup(self, _application: GajimApplication) -> None:
+ if sys.platform == 'win32':
+ # Changing the PANGOCAIRO_BACKEND is necessary on Windows
+ # to render colored emoji glyphs
+ os.environ['PANGOCAIRO_BACKEND'] = 'fontconfig'
+
self._init_core()
icon_theme = Gtk.IconTheme.get_default()
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/661c13b3051334bf216c6e50abf121a4…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/661c13b3051334bf216c6e50abf121a4…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
75f5c13b by wurstsalat at 2022-05-31T12:22:00+02:00
fix: AccountsWindow: Point out the window's class
- - - - -
1 changed file:
- gajim/gtk/accounts.py
Changes:
=====================================
gajim/gtk/accounts.py
=====================================
@@ -565,8 +565,7 @@ def _disable() -> None:
if (account in app.connections and
not app.connections[account].state.is_disconnected):
# Connecting or connected
- window = get_app_window('AccountsWindow')
- assert window is not None
+ window = cast(AccountsWindow, get_app_window('AccountsWindow'))
ConfirmationDialog(
_('Disable Account'),
_('Account %s is still connected') % account,
@@ -707,8 +706,7 @@ def __init__(self, account: str) -> None:
GenericSettingPage.__init__(self, account, settings)
def _on_account_name_change(self, *args: Any) -> None:
- window = get_app_window('AccountsWindow')
- assert window is not None
+ window = cast(AccountsWindow, get_app_window('AccountsWindow'))
window.update_account_label(self.account)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/75f5c13bf6b4b64e71aea0cd3c7bb0c6…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/75f5c13bf6b4b64e71aea0cd3c7bb0c6…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
7883c1bd by Daniel Brötzmann at 2022-05-30T14:55:10+00:00
chore: Windows: Add GTK Inspector hint in Windows development Readme
- - - - -
1 changed file:
- win/README.md
Changes:
=====================================
win/README.md
=====================================
@@ -18,6 +18,15 @@ ## Development
* Now go to the git root dir `cd ..`
* Launch Gajim `./launch.py`
+### GtkInspector
+
+For Gtk Inspector to work, add the following registry key
+```
+HKEY_CURRENT_USER\Software\GSettings\org\gtk\settings\debug
+DWORD enable-inspector-keybinding = 1
+```
+
+Afterwards press CTRL + SHIFT + I, to activate GtkInspector
## Build Gajim / Create an Installer
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/7883c1bdf17b8ea57e0d3984af0322e5…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/7883c1bdf17b8ea57e0d3984af0322e5…
You're receiving this email because of your account on dev.gajim.org.