Request the display name too, otherwise "Desktop" does not appear in the
2006-09-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.c (model_add_special): Request the display name too, otherwise "Desktop" does not appear in the file chooser button.
This commit is contained in:
		
				
					committed by
					
						
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							8a99fbc640
						
					
				
				
					commit
					e7d8f0575c
				
			@ -1,3 +1,9 @@
 | 
				
			|||||||
 | 
					2006-09-10  Matthias Clasen  <mclasen@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gtk/gtkfilechooserbutton.c (model_add_special): Request
 | 
				
			||||||
 | 
						the display name too, otherwise "Desktop" does not appear
 | 
				
			||||||
 | 
						in the file chooser button. 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2006-09-10  Tor Lillqvist  <tml@novell.com>
 | 
					2006-09-10  Tor Lillqvist  <tml@novell.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* gdk/win32/gdkprivate-win32.h
 | 
						* gdk/win32/gdkprivate-win32.h
 | 
				
			||||||
 | 
				
			|||||||
@ -1692,7 +1692,7 @@ model_add_special (GtkFileChooserButton *button)
 | 
				
			|||||||
      gtk_tree_path_free (tree_path);
 | 
					      gtk_tree_path_free (tree_path);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      handle = gtk_file_system_get_info (button->priv->fs, path,
 | 
					      handle = gtk_file_system_get_info (button->priv->fs, path,
 | 
				
			||||||
					 GTK_FILE_INFO_ICON,
 | 
										 GTK_FILE_INFO_DISPLAY_NAME | GTK_FILE_INFO_ICON,
 | 
				
			||||||
					 model_add_special_get_info_cb, info);
 | 
										 model_add_special_get_info_cb, info);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      gtk_list_store_set (store, &iter,
 | 
					      gtk_list_store_set (store, &iter,
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user