|
|
|
@ -11,21 +11,19 @@ struct _MainWindow |
|
|
|
|
|
|
|
|
|
AdwHeaderBar* header; |
|
|
|
|
AdwLeaflet* main_leaflet; |
|
|
|
|
// TODO LIST : CcPanelList *panel_list;
|
|
|
|
|
GtkListBox *device_list; |
|
|
|
|
GtkBox* sidebar_box; |
|
|
|
|
AdwWindowTitle* sidebar_title_widget; |
|
|
|
|
GtkStack* stack; |
|
|
|
|
|
|
|
|
|
// GtkWidget *old_panel;
|
|
|
|
|
GtkWidget* current_panel; |
|
|
|
|
char* current_panel_id; |
|
|
|
|
// GQueue *previous_panels;
|
|
|
|
|
|
|
|
|
|
GtkWidget* custom_titlebar; |
|
|
|
|
|
|
|
|
|
// CcShellModel *store;
|
|
|
|
|
|
|
|
|
|
// CcPanel *active_panel;
|
|
|
|
|
Panel *active_panel; |
|
|
|
|
GSettings* settings; |
|
|
|
|
|
|
|
|
|
gboolean folded; |
|
|
|
@ -233,7 +231,7 @@ main_window_class_init(MainWindowClass* klass) |
|
|
|
|
|
|
|
|
|
gtk_widget_class_bind_template_child(widget_class, MainWindow, header); |
|
|
|
|
gtk_widget_class_bind_template_child(widget_class, MainWindow, main_leaflet); |
|
|
|
|
// gtk_widget_class_bind_template_child(widget_class, MainWindow, panel_list);
|
|
|
|
|
gtk_widget_class_bind_template_child(widget_class, MainWindow, device_list); |
|
|
|
|
gtk_widget_class_bind_template_child(widget_class, MainWindow, sidebar_box); |
|
|
|
|
gtk_widget_class_bind_template_child(widget_class, MainWindow, sidebar_title_widget); |
|
|
|
|
gtk_widget_class_bind_template_child(widget_class, MainWindow, stack); |
|
|
|
|