mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove custom icon (multi-platform defaults issue)
This commit is contained in:
parent
8e56daa243
commit
fd6b9edb35
1 changed files with 0 additions and 8 deletions
|
|
@ -10,7 +10,6 @@ use adw::{TabPage, TabView};
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use gtk::{
|
use gtk::{
|
||||||
Box, Orientation,
|
Box, Orientation,
|
||||||
gio::Icon,
|
|
||||||
glib::Propagation,
|
glib::Propagation,
|
||||||
prelude::{ActionExt, EditableExt, EntryExt, WidgetExt},
|
prelude::{ActionExt, EditableExt, EntryExt, WidgetExt},
|
||||||
};
|
};
|
||||||
|
|
@ -44,13 +43,6 @@ impl Tab {
|
||||||
.menu_model(>k::gio::Menu::menu(window_action))
|
.menu_model(>k::gio::Menu::menu(window_action))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
// Change default icon (if available in the system icon set)
|
|
||||||
// * visible for pinned tabs only
|
|
||||||
// * @TODO not default GTK behavior, make this feature optional
|
|
||||||
if let Ok(default_icon) = Icon::for_string("view-pin-symbolic") {
|
|
||||||
tab_view.set_default_icon(&default_icon);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Init events
|
// Init events
|
||||||
tab_view.connect_setup_menu({
|
tab_view.connect_setup_menu({
|
||||||
let index = index.clone();
|
let index = index.clone();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue