summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserentry.c
Commit message (Collapse)AuthorAgeFilesLines
* bnc355225 - File chooser crash in Tab completionFederico Mena Quintero2008-06-031-1/+2
| | | | | | | | | | | | | 2008-06-03 Federico Mena Quintero <federico@novell.com> * gtk/gtkfilechooserentry.c (install_completion_feedback_timer): If the user presses Tab while the completion feedback window is active, then we'll assert. Remove the assertion and just re-set the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225 Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=20305
* Ahem, fix compilationFederico Mena Quintero2008-03-261-2/+2
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19938
* Make 'Ok' work for the file chooser entryFederico Mena Quintero2008-03-261-16/+10
| | | | | | | | | | | | | | | | | | 2008-03-26 Federico Mena Quintero <federico@novell.com> * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New helper function; factored out from the functions that commit the current suggested autocompletion and that refresh the entry's paths. (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh(). (_gtk_file_chooser_entry_get_file_part): Likewise. (_gtk_file_chooser_entry_get_current_folder): Likewise. This makes the entry have the correct paths when *not* using any form of completion (and makes the file chooser work when clicking the OK button). Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19937
* Hide the mouse cursor in the completion feedback windowFederico Mena Quintero2008-03-141-0/+44
| | | | | | | | | | | | 2008-03-13 Federico Mena Quintero <federico@novell.com> * gtk/gtkfilechooserentry.c (create_completion_feedback_window): Set the mouse cursor of the feedback window to invisible, so that we respect GtkEntry's invisible cursor while typing. Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19870
* Use rough font-based spacing for the completion entry's suggestion windowFederico Mena Quintero2008-03-141-1/+2
| | | | | | | | | | | | 2008-03-13 Federico Mena Quintero <federico@novell.com> * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put the feedback window at entry_height/2 pixels to the right of the cursor, for a cheap "M-width / 2" spacing. Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19869
* Beep with gtk_widget_error_bell()Federico Mena Quintero2008-03-131-1/+1
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19859
* Better feedback for sole completionsFederico Mena Quintero2008-03-131-4/+13
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19858
* Don't complete the directory separator if it would result in double separatorsFederico Mena Quintero2008-03-131-4/+41
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19857
* Remove obsolete FIXMEsFederico Mena Quintero2008-03-131-12/+3
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19856
* Remove debug printfsFederico Mena Quintero2008-03-131-80/+10
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19855
* Add some FIXMEsFederico Mena Quintero2008-03-131-1/+3
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19854
* On error when loading a folder, use the raw error message instead of ↵Federico Mena Quintero2008-03-131-5/+1
| | | | | | | | commenting it up Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19853
* Clear the current_folder_path if loading yields an errorFederico Mena Quintero2008-03-131-0/+3
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19852
* Present an error if we can't load the folder during explicit completionFederico Mena Quintero2008-03-131-4/+19
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19851
* Detect when Tab would generate no new completionsFederico Mena Quintero2008-03-131-25/+48
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19850
* Debug printfs for deleting/inserting the completionFederico Mena Quintero2008-03-131-2/+7
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19849
* If explicitly completing and we have a completion, just unselect itFederico Mena Quintero2008-03-131-7/+1
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19848
* Another FIXMEFederico Mena Quintero2008-03-131-0/+1
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19847
* Add completion feedback in other placesFederico Mena Quintero2008-03-131-3/+5
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19846
* Find the cursor position from GtkEntry for the completion feedbackFederico Mena Quintero2008-03-131-3/+30
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19845
* Use a timer for the completion feedback windowFederico Mena Quintero2008-03-131-2/+30
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19844
* Destroy the completion feedback windowFederico Mena Quintero2008-03-131-1/+19
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19843
* Use an alignment for the label like in GtkTooltipFederico Mena Quintero2008-03-131-4/+15
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19842
* Show the label as well as the feedback windowFederico Mena Quintero2008-03-131-2/+4
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19841
* Debug printfs for the completion feedback positionFederico Mena Quintero2008-03-131-3/+8
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19840
* Create a tooltip-like window to present completion feedbackFederico Mena Quintero2008-03-131-2/+91
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19839
* Beep if there are no matches for explicit completionFederico Mena Quintero2008-03-131-0/+1
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19838
* Scan the completion store again to look for complete-but-not-unique matchesFederico Mena Quintero2008-03-131-5/+34
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19837
* Stubs for all cases of completion feedbackFederico Mena Quintero2008-03-131-17/+39
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19836
* Update comments on explicit completionFederico Mena Quintero2008-03-131-3/+11
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19835
* Stubs to give feedback when doing explicit completionFederico Mena Quintero2008-03-131-10/+91
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19834
* Refresh the file part when it gets requested and when activating the entryFederico Mena Quintero2008-03-131-14/+40
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19833
* Clear the completion flags before appending the common prefixFederico Mena Quintero2008-03-131-7/+9
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19832
* Add FIXMEs for beeping laterFederico Mena Quintero2008-03-131-0/+4
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19831
* Factor out some codeFederico Mena Quintero2008-03-131-12/+12
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19830
* Implement the basic code path for explicit completionFederico Mena Quintero2008-03-131-45/+69
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19829
* Clear pending completions thoroughlyFederico Mena Quintero2008-03-131-5/+15
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19828
* Remove debug printfs from populate_completion_store()Federico Mena Quintero2008-03-131-10/+1
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19827
* Debug printfs for finishing the folder loadFederico Mena Quintero2008-03-131-3/+13
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19826
* More debug printfs for populating the completion storeFederico Mena Quintero2008-03-131-0/+4
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19825
* Debug printfs for populating the completion storeFederico Mena Quintero2008-03-131-1/+8
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19824
* Turn on in_change while changing the filename in the entryFederico Mena Quintero2008-03-131-2/+2
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19823
* Update some FIXMEsFederico Mena Quintero2008-03-131-1/+1
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19822
* When finding the common prefix, assert that we have the correct folder loadedFederico Mena Quintero2008-03-131-1/+3
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19821
* Discard the completion store when we change the folderFederico Mena Quintero2008-03-131-5/+14
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19820
* Add some more FIXMEsFederico Mena Quintero2008-03-131-1/+6
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19819
* Remove obsolete commentsFederico Mena Quintero2008-03-131-2/+0
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19818
* Cancel all forms of completion at the appropriate times, not just in ::changedFederico Mena Quintero2008-03-131-97/+92
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19817
* Put some more FIXMEsFederico Mena Quintero2008-03-131-0/+9
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19816
* Re-create the completion store right before populating itFederico Mena Quintero2008-03-131-18/+12
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19815