Lines 247-253
Link Here
|
247 |
if (((Adw.Leaflet)MiscUtils.find_ancestor_of_type<Adw.Leaflet>(this)).folded) { |
247 |
if (((Adw.Leaflet)MiscUtils.find_ancestor_of_type<Adw.Leaflet>(this)).folded) { |
248 |
back2_button.visible = false; |
248 |
back2_button.visible = false; |
249 |
} else { |
249 |
} else { |
250 |
back2_button.visible = ((MainWindow)MiscUtils.find_ancestor_of_type<MainWindow>(this)).sgrid.get_visible_child_name () == "notegrid" != false ? true : false; |
250 |
back2_button.visible = ((MainWindow)MiscUtils.find_ancestor_of_type<MainWindow>(this)).sgrid.get_visible_child_name() == "notegrid"; |
251 |
} |
251 |
} |
252 |
back2_button.clicked.connect (() => { |
252 |
back2_button.clicked.connect (() => { |
253 |
((Adw.Leaflet)MiscUtils.find_ancestor_of_type<Adw.Leaflet>(this)).set_visible_child (((MainWindow)MiscUtils.find_ancestor_of_type<MainWindow>(this)).sgrid); |
253 |
((Adw.Leaflet)MiscUtils.find_ancestor_of_type<Adw.Leaflet>(this)).set_visible_child (((MainWindow)MiscUtils.find_ancestor_of_type<MainWindow>(this)).sgrid); |
Lines 699-701
Link Here
|
699 |
return ""; |
699 |
return ""; |
700 |
} |
700 |
} |
701 |
} |
701 |
} |
|
|
702 |
|