mirror of
				https://github.com/johrpan/musicus.git
				synced 2025-10-26 19:57:25 +01:00 
			
		
		
		
	Add home page header and hook up editors
This commit is contained in:
		
							parent
							
								
									38613c0063
								
							
						
					
					
						commit
						f49f23a501
					
				
					 10 changed files with 236 additions and 55 deletions
				
			
		|  | @ -5,7 +5,6 @@ use adw::{ | |||
| use gtk::glib::{self, Properties}; | ||||
| use std::cell::OnceCell; | ||||
| 
 | ||||
| use crate::editor::work_editor::MusicusWorkEditor; | ||||
| use crate::library::MusicusLibrary; | ||||
| 
 | ||||
| mod imp { | ||||
|  | @ -36,12 +35,7 @@ mod imp { | |||
|     } | ||||
| 
 | ||||
|     #[glib::derived_properties] | ||||
|     impl ObjectImpl for LibraryManager { | ||||
|         fn constructed(&self) { | ||||
|             self.parent_constructed(); | ||||
|             self.obj().set_child(Some(&MusicusWorkEditor::new(self.library.get().unwrap()))); | ||||
|         } | ||||
|     } | ||||
|     impl ObjectImpl for LibraryManager {} | ||||
| 
 | ||||
|     impl WidgetImpl for LibraryManager {} | ||||
|     impl NavigationPageImpl for LibraryManager {} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue