remove custom icon (multi-platform defaults issue)

This commit is contained in:
yggverse 2025-12-08 09:49:46 +02:00
parent 8e56daa243
commit fd6b9edb35

View file

@ -10,7 +10,6 @@ use adw::{TabPage, TabView};
use anyhow::Result;
use gtk::{
Box, Orientation,
gio::Icon,
glib::Propagation,
prelude::{ActionExt, EditableExt, EntryExt, WidgetExt},
};
@ -44,13 +43,6 @@ impl Tab {
.menu_model(&gtk::gio::Menu::menu(window_action))
.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
tab_view.connect_setup_menu({
let index = index.clone();