Skip to content

Commit

Permalink
Ensure we check for wayland correctly for AppLauncher before loading …
Browse files Browse the repository at this point in the history
…budgie gir
  • Loading branch information
fossfreedom committed Jul 9, 2024
1 parent 1e9ae39 commit a008d6c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion budgie-app-launcher/src/budgie-app-launcher/AppLauncher.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@

import gi.repository

gi.require_version('Budgie', '1.0')
gi.require_version('Libxfce4windowing', '0.0')
from gi.repository import Libxfce4windowing
if Libxfce4windowing.windowing_get() == Libxfce4windowing.Windowing.WAYLAND:
gi.require_version('Budgie', '2.0')
else:
gi.require_version('Budgie', '1.0')
from gi.repository import Budgie
from gi.repository import GObject
from AppLauncherApplet import AppLauncherApplet
Expand Down

0 comments on commit a008d6c

Please sign in to comment.