Skip to content

Commit

Permalink
Add link to Firefox browser extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtyomZorin committed Jun 5, 2024
1 parent 67e9396 commit ee994b5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 35 deletions.
35 changes: 1 addition & 34 deletions data/ui/preferences-window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
<property name="can_focus">False</property>
<property name="icon_name">org.gnome.Shell.Extensions.ZorinConnect-symbolic</property>
<property name="default_width">640</property>
<property name="default_height">440</property>
<property name="default_height">510</property>
<child type="titlebar">
<object class="GtkHeaderBar" id="headerbar">
<property name="visible">True</property>
Expand Down Expand Up @@ -570,39 +570,6 @@ SPDX-License-Identifier: GPL-2.0-or-later
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLinkButton" id="webextension-button-chrome">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="uri">https://chrome.google.com/webstore/detail/zorin-connect/nfcnjkekppjddipfnfbbohdocpgjnmee</property>
<child>
<object class="GtkImage" id="webextension-image-chrome">
<property name="width_request">195</property>
<property name="height_request">58</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="resource">/org/gnome/Shell/Extensions/ZorinConnect/images/chrome-badge.png</property>
</object>
</child>
<child internal-child="accessible">
<object class="AtkObject" id="webextension-button-chrome-atkobject">
<property name="AtkObject::accessible-name">Chrome Extension</property>
<property name="AtkObject::accessible-role">link</property>
</object>
</child>
<style>
<class name="badge-button"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<accessibility>
<relation type="labelled-by" target="webextension-label"/>
</accessibility>
Expand Down
18 changes: 18 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
gnome-shell-extension-zorin-connect (55.4) jammy; urgency=medium

* Add link to Firefox browser extension

-- Artyom Zorin <[email protected]> Wed, 05 Jun 2024 23:11:11 +0100

gnome-shell-extension-zorin-connect (55.3) jammy; urgency=medium

* Removed links to browser add-ons

-- Artyom Zorin <[email protected]> Thu, 23 Nov 2023 14:22:05 +0000

gnome-shell-extension-zorin-connect (55.2) jammy; urgency=medium

* Corrected locale directory path for Nautilus extension

-- Artyom Zorin <[email protected]> Fri, 17 Nov 2023 15:42:08 +0000

gnome-shell-extension-zorin-connect (55.1) jammy; urgency=medium

* Updated .reuse directory
Expand Down
4 changes: 3 additions & 1 deletion nautilus-extension/nautilus-zorin-connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
LOCALE_DIR = None

try:
i18n = gettext.translation(SERVICE_NAME, localedir=LOCALE_DIR)
i18n = gettext.translation('zorin-connect',
'/usr/share/locale',
fallback=True)
_ = i18n.gettext

except (IOError, OSError) as e:
Expand Down

0 comments on commit ee994b5

Please sign in to comment.