View Single Post
Old 09-03-2009, 04:02 PM   #22
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by dixon View Post
To tjdean256: I made a quick look at that thread but I did not notice the sources. If someone can show me how to modify the file dialog I will try to do that because I do not like the current one too.
Hi dixon,

It seems I need to post more sources to this forum...
Have a look at the function create_file_selector() in the file selector.c of leafpad. The function switches between gtk_file_chooser and gtk_file_selecion. The gtk_file_chooser for the DR is patched to have a very small size, gtk_file_selection is not patched. gtk_file_selection is depricated, but still works correctly in the gtk version used on the DR.
See here for a leafpad version with the gtk_file_selector.
Mackx is offline   Reply With Quote