Skip to content

Commit

Permalink
add firefox flatpak to show_hide_browser_widgets() (#262)
Browse files Browse the repository at this point in the history
Fix firefox flatpak not showing navbar
  • Loading branch information
pihdastudios authored Nov 16, 2023
1 parent 062eacf commit 9a88c6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/lib/webapp-manager/webapp-manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from gi.repository import Gtk, Gdk, Gio, XApp, GdkPixbuf

# 3. Local application/library specific imports.
from common import _async, idle, WebAppManager, download_favicon, ICONS_DIR, BROWSER_TYPE_FIREFOX
from common import _async, idle, WebAppManager, download_favicon, ICONS_DIR, BROWSER_TYPE_FIREFOX, BROWSER_TYPE_FIREFOX_FLATPAK

setproctitle.setproctitle("webapp-manager")

Expand Down Expand Up @@ -452,7 +452,7 @@ def on_browser_changed(self, widget):

def show_hide_browser_widgets(self):
browser = self.browser_combo.get_model()[self.browser_combo.get_active()][BROWSER_OBJ]
if browser.browser_type == BROWSER_TYPE_FIREFOX:
if browser.browser_type == BROWSER_TYPE_FIREFOX or browser.browser_type == BROWSER_TYPE_FIREFOX_FLATPAK:
self.isolated_label.hide()
self.isolated_switch.hide()
self.navbar_label.show()
Expand Down

0 comments on commit 9a88c6a

Please sign in to comment.