mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
deactivate tooltip_text
This commit is contained in:
parent
8ddd90bb11
commit
3a8cb5673c
1 changed files with 3 additions and 3 deletions
|
|
@ -80,7 +80,7 @@ impl Directory {
|
||||||
.factory(&{
|
.factory(&{
|
||||||
let factory = gtk::SignalListItemFactory::new();
|
let factory = gtk::SignalListItemFactory::new();
|
||||||
factory.connect_bind(|_, this| {
|
factory.connect_bind(|_, this| {
|
||||||
use gtk::prelude::{Cast, FileExt, ListItemExt};
|
use gtk::prelude::{Cast, /*FileExt,*/ ListItemExt};
|
||||||
let list_item = this.downcast_ref::<ListItem>().unwrap();
|
let list_item = this.downcast_ref::<ListItem>().unwrap();
|
||||||
let item = list_item.item().unwrap();
|
let item = list_item.item().unwrap();
|
||||||
let file_info = item.downcast_ref::<FileInfo>().unwrap();
|
let file_info = item.downcast_ref::<FileInfo>().unwrap();
|
||||||
|
|
@ -89,7 +89,7 @@ impl Directory {
|
||||||
.halign(Align::Start)
|
.halign(Align::Start)
|
||||||
.ellipsize(gtk::pango::EllipsizeMode::Middle)
|
.ellipsize(gtk::pango::EllipsizeMode::Middle)
|
||||||
.label(file_info.display_name())
|
.label(file_info.display_name())
|
||||||
.tooltip_text(
|
/*.tooltip_text(
|
||||||
file_info
|
file_info
|
||||||
.attribute_object("standard::file")
|
.attribute_object("standard::file")
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
|
@ -99,7 +99,7 @@ impl Directory {
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.to_str()
|
.to_str()
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
)
|
) this feature maybe is not really wanted */
|
||||||
.build(),
|
.build(),
|
||||||
));
|
));
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue