Skip to content

Commit fd6b9ed

Browse files
author
yggverse
committed
remove custom icon (multi-platform defaults issue)
1 parent 8e56daa commit fd6b9ed

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/app/browser/window/tab.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use adw::{TabPage, TabView};
1010
use anyhow::Result;
1111
use gtk::{
1212
Box, Orientation,
13-
gio::Icon,
1413
glib::Propagation,
1514
prelude::{ActionExt, EditableExt, EntryExt, WidgetExt},
1615
};
@@ -44,13 +43,6 @@ impl Tab {
4443
.menu_model(&gtk::gio::Menu::menu(window_action))
4544
.build();
4645

47-
// Change default icon (if available in the system icon set)
48-
// * visible for pinned tabs only
49-
// * @TODO not default GTK behavior, make this feature optional
50-
if let Ok(default_icon) = Icon::for_string("view-pin-symbolic") {
51-
tab_view.set_default_icon(&default_icon);
52-
}
53-
5446
// Init events
5547
tab_view.connect_setup_menu({
5648
let index = index.clone();

0 commit comments

Comments
 (0)