[maemo-commits] [maemo-commits] /trunk/hildon-fm/ - luc - r1306

From: www-data www-data at stage.maemo.org
Date: Mon Oct 31 16:25:50 EET 2005
        N#20341 hildon_file_system_model_autoname_uri doesn't work
                properly for names having numbers.

        * hildon-file-system-private.[ch]:
        (_hildon_file_system_parse_autonumber): Moved parse_autonumber
        here from hildon-file-system-model.c, with following changes:
        Changed all error cases immediately return -1 (not accepted) and
        remove separate ACCEPT state (input is now accepted, when state
        machine is in CLOSE state at the end of input). Small logic
        changes (not increase input pointer after number conversion, since
        it already points to next character).

        (_hildon_file_system_remove_autonumber): Refactored from
        autoname_uri. Also needed in save dialog.

        * hildon-file-system-model.c: move out parse_autonumber(). Use new
        _hildon_file_system_parse_autonumber instead.

        * hildon-file-chooser-dialog.c
        (hildon_file_chooser_dialog_set_current_name): Changed to remove
        existing autonumber from name, if autonumbering is enabled.



U   projects/haf/trunk/hildon-fm/ChangeLog
U   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-chooser-dialog.c
U   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-model.c
U   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-private.c
U   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-private.h

URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=1306

More information about the maemo-commits mailing list