~ubuntu-branches/ubuntu/saucy/shotwell/saucy-proposed

« back to all changes in this revision

Viewing changes to src/Event.vala

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-03-28 11:59:51 UTC
  • mfrom: (1.2.10)
  • Revision ID: package-import@ubuntu.com-20120328115951-c63mrdyoqrro0bek
Tags: 0.12.0-0ubuntu1
* New upstream release:
  (Changes since 0.11.6)
  - Adds straighten tool
  - Ported from GTK 2 to GTK 3
  - Better handling of importing from Android devices
  - Facebook and Flickr login now use OAuth authentication
  - Numerous enhancements to the plugin subsystem
  - The F-Spot importer is now implemented as a plugin
  - Many, many bugfixes and stability enhancements
* debian/control:
  - Bump build-depends on gexiv2

Show diffs side-by-side

added added

removed removed

Lines of Context:
738
738
    public bool rename(string? name) {
739
739
        string? new_name = prep_event_name(name);
740
740
        
 
741
        // Allow rename to date but it should go dynamic, so set name to ""
 
742
        if (new_name == get_formatted_daterange()) {
 
743
            new_name = "";
 
744
        }
 
745
        
741
746
        bool renamed = event_table.rename(event_id, new_name);
742
747
        if (renamed) {
743
748
            raw_name = new_name;