refactor: use rework configs
This commit is contained in:
parent
74f6c2eca6
commit
1d8fe85775
22 changed files with 212 additions and 152 deletions
|
|
@ -7,7 +7,7 @@ edition = "2021"
|
|||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[dependencies]
|
||||
cosmic-panel-config = { git="https://github.com/pop-os/cosmic-panel/", features = ["gtk4"] }
|
||||
cosmic-panel-config = {git = "https://github.com/pop-os/cosmic-panel", features = ["gtk4"], branch = "rework_0.30"}
|
||||
cascade = "1.0.0"
|
||||
gtk4 = { git = "https://github.com/gtk-rs/gtk4-rs", features = ["v4_4"] }
|
||||
once_cell = "1.9.0"
|
||||
|
|
@ -18,9 +18,9 @@ i18n-embed-fl = "0.6.4"
|
|||
rust-embed = "6.3.0"
|
||||
tokio = { version = "1.16.1", features = ["sync"] }
|
||||
wayland-commons = "0.29.4"
|
||||
wayland-scanner = { git = "https://github.com/smithay/wayland-rs.git", version = "0.30.0-beta.4"}
|
||||
wayland-backend = { version = "0.1.0-beta.4", git = "https://github.com/smithay/wayland-rs.git" }
|
||||
wayland-client = { version = "0.30.0-beta.4", git = "https://github.com/smithay/wayland-rs.git" }
|
||||
wayland-backend = { version = "=0.1.0-beta.5" }
|
||||
wayland-scanner = { version = "=0.30.0-beta.5" }
|
||||
wayland-client = { version = "0.30.0-beta.5" }
|
||||
calloop = "*"
|
||||
nix = "*"
|
||||
log = "0.4"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ use crate::{
|
|||
wayland::generated::client::zext_workspace_manager_v1::ZextWorkspaceManagerV1,
|
||||
wayland_source::WaylandSource,
|
||||
};
|
||||
use cosmic_panel_config::config::CosmicPanelConfig;
|
||||
use cosmic_panel_config::CosmicPanelConfig;
|
||||
use gtk4::glib;
|
||||
use std::{
|
||||
collections::HashMap, env, hash::Hash, mem, os::unix::net::UnixStream, path::PathBuf,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use crate::{fl, utils::Activate, wayland::State, workspace_list::WorkspaceList};
|
||||
use cascade::cascade;
|
||||
use cosmic_panel_config::config::CosmicPanelConfig;
|
||||
use cosmic_panel_config::CosmicPanelConfig;
|
||||
use gtk4::{
|
||||
gio,
|
||||
glib::{self, Object},
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: MPL-2.0-only
|
||||
|
||||
use cosmic_panel_config::config::CosmicPanelConfig;
|
||||
use cosmic_panel_config::CosmicPanelConfig;
|
||||
use gtk4::subclass::prelude::*;
|
||||
use gtk4::{gio, glib, EventControllerScroll};
|
||||
use gtk4::{Box, ListView};
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ use crate::workspace_button::WorkspaceButton;
|
|||
use crate::workspace_object::WorkspaceObject;
|
||||
use crate::TX;
|
||||
use cascade::cascade;
|
||||
use cosmic_panel_config::config::CosmicPanelConfig;
|
||||
use cosmic_panel_config::CosmicPanelConfig;
|
||||
use gtk4::builders::EventControllerScrollBuilder;
|
||||
use gtk4::EventControllerScrollFlags;
|
||||
use gtk4::Inhibit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue