Mark a dead end
This commit is contained in:
		
							parent
							
								
									3da1d32df7
								
							
						
					
					
						commit
						6130f527d4
					
				
							
								
								
									
										16
									
								
								fastiv.c
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								fastiv.c
									
									
									
									
									
								
							| @ -837,12 +837,16 @@ toolbar_connect(int index, GCallback callback) | |||||||
| 	g_signal_connect_swapped(g.toolbar[index], "clicked", callback, NULL); | 	g_signal_connect_swapped(g.toolbar[index], "clicked", callback, NULL); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // TODO(p): The toolbar should not be visible in fullscreen,
 | // TODO(p): The text and icons should be faded, unless the mouse cursor is
 | ||||||
| // or show up only when the cursor reaches the bottom of the screen.
 | // on the toolbar. However, GtkEventBox is of no use, because either buttons
 | ||||||
| // Presumably, GtkOverlay could be used for this. Proximity-based?
 | // steal our {enter,leave}-notify-events, or we steal all their input.
 | ||||||
| // Might want to make the toolbar normally translucent.
 | // Not even connecting to these signals on children works, insensitive buttons
 | ||||||
| // TODO(p): The text and icons should be faded, unless the mouse cursor
 | // will not trigger anything.
 | ||||||
| // is on the toolbar.
 | // TODO(p): The toolbar should not be visible in fullscreen, or should show up
 | ||||||
|  | // only when the cursor reaches the top of the screen. Translucency sounds
 | ||||||
|  | // like a good mechanism here. Presumably, GtkOverlay could be used for this,
 | ||||||
|  | // but it faces the same problem as above--the input model sucks.
 | ||||||
|  | // TODO(p): Simply hide it in fullscreen and add a replacement context menu.
 | ||||||
| static GtkWidget * | static GtkWidget * | ||||||
| make_view_toolbar(void) | make_view_toolbar(void) | ||||||
| { | { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user