debug
This commit is contained in:
@@ -351,6 +351,7 @@ def instantiate_content(panel, container, content_list, icons_path=""):
|
||||
activewindow, activeworkspace, icons_path=icons_path)
|
||||
container.pack_start(workspaces, False, False, panel["items-padding"])
|
||||
common.h_workspaces_list.append(workspaces)
|
||||
print("Successfully instantiated hyprland-workspaces")
|
||||
else:
|
||||
print("'hyprland-workspaces' not defined in this panel instance")
|
||||
else:
|
||||
|
@@ -115,10 +115,7 @@ class HyprlandWorkspaces(Gtk.Box):
|
||||
pinned = activewindow["pinned"]
|
||||
|
||||
# fix #310
|
||||
if activeworkspace and "id" in activeworkspace:
|
||||
active_ws = activeworkspace["id"]
|
||||
else:
|
||||
active_ws = 0
|
||||
active_ws = activeworkspace["id"]
|
||||
|
||||
for num in self.ws_nums:
|
||||
if num in occupied_workspaces or self.settings["show-empty"]:
|
||||
|
Reference in New Issue
Block a user