summaryrefslogtreecommitdiff
path: root/src/nautilus-file-name-widget-controller.c
Commit message (Collapse)AuthorAgeFilesLines
* file-name-widget-controller: rerun uncrustifyCarlos Soriano2016-09-061-6/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=770564
* file-name-widget-controller: add headerCarlos Soriano2016-09-061-0/+19
| | | | Copyright and licence was missing.
* general: initialize smart pointers to NULLRazvan Chitu2016-08-301-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=770609
* general: run uncrustifyCarlos Soriano2016-08-291-285/+312
| | | | | | | | And make the style of Nautilus the same for all files. Hopefully we can fix all the style issues we can find in the next days, so expect a little of movement on this. https://bugzilla.gnome.org/show_bug.cgi?id=770564
* file-name-widgets: use a revealer to display errorsRazvan Chitu2016-08-231-1/+21
| | | | | | | | Each file name widget has an error label for displaying error messages. However, when there is no error, the label just takes up space for no reason. In order to fix this, use a revealer to display error messages. https://bugzilla.gnome.org/show_bug.cgi?id=770199
* files-view: move file name widget logic to separate controllersRazvan Chitu2016-08-191-0/+387
The rename file popover and the new folder dialog share common logic for validating file names entered by the user. The control logic was implemented with a simple structure in files-view. Besides common logic, the structure also held parameters specific to only one of the operations. Another problem is that the current implementation does not allow flexibility in obtaining the file name from the widgets and displaying error messages. In order to fix this, reimplement the structure as an abstract class and create two subclasses for the "Rename" and "New Folder" widgets. https://bugzilla.gnome.org/show_bug.cgi?id=769336