GTK docking interfaces and more

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

Bind all history calendar signals

roundabout,
created on Friday, 20 June 2025, 17:07:10 (1750439230), received on Friday, 20 June 2025, 17:07:13 (1750439233)
Author identity: vlad <vlad.muntoiu@gmail.com>

cb5fde3b63b3edb6e59e4eb999006b73b5a24a56

panthera-www.cc

@@ -194,6 +194,10 @@ public:

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    });
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    calendar->signal_day_selected().connect(sigc::mem_fun(*this, &HistoryViewer::reload_history));
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                calendar->signal_prev_month().connect(sigc::mem_fun(*this, &HistoryViewer::reload_history));
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                calendar->signal_next_month().connect(sigc::mem_fun(*this, &HistoryViewer::reload_history));
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                calendar->signal_prev_year().connect(sigc::mem_fun(*this, &HistoryViewer::reload_history));
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                calendar->signal_next_year().connect(sigc::mem_fun(*this, &HistoryViewer::reload_history));
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    Glib::DateTime datetime = Glib::DateTime::create_now_local();
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    calendar->select_day(datetime);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -212,7 +216,6 @@ public:

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    scrolled_window->set_hexpand(true);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    box->append(*scrolled_window);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                // TODO: make the arrows work, they should move to the previous/next day with any entries
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    // TODO: allow deleting entries
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                }