Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
xfce4-panel-profiles
Libxfce4ui.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Libxfce4ui.patch of Package xfce4-panel-profiles
diff -ru a/xfce4-panel-profiles/xfce4-panel-profiles.py b/xfce4-panel-profiles/xfce4-panel-profiles.py --- a/xfce4-panel-profiles/xfce4-panel-profiles.py 2023-06-05 09:01:02.000000000 +0200 +++ b/xfce4-panel-profiles/xfce4-panel-profiles.py 2023-06-06 16:45:15.455490456 +0200 @@ -28,16 +28,9 @@ import gi gi.require_version('Gtk', '3.0') -# Try to import the new Libxfce4ui gir name (since 4.15.7) -# if it does not exists, try the old libxfce4ui -try: - gi.require_version('Libxfce4ui', '2.0') - from gi.repository import Libxfce4ui as libxfce4ui - from gi.repository import Libxfce4util as libxfce4util -except ValueError: - gi.require_version('libxfce4ui', '2.0') - from gi.repository import libxfce4ui - from gi.repository import libxfce4util +gi.require_version('Libxfce4ui', '2.0') +from gi.repository import Libxfce4ui as libxfce4ui +from gi.repository import Libxfce4util as libxfce4util from gi.repository import Gtk, GLib, Gio
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor