~ubuntu-branches/ubuntu/hardy/file-roller/hardy-updates

« back to all changes in this revision

Viewing changes to src/fr-command-unstuff.c

  • Committer: Bazaar Package Importer
  • Author(s): Baptiste Mille-Mathias
  • Date: 2007-06-19 18:59:05 UTC
  • mfrom: (1.2.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20070619185905-kd35yjkfr0gn3tfa
Tags: 2.19.3-0ubuntu1
* New upstream release:
  - Added support for Drag&Drop among file-roller windows.
  - Added a folders pane.  
  - Fixed daylight saving time calculation.
  - Save and restore the filename column width.
  - Can not open a file whose name is in non-ascii encoding.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
                else
128
128
                        size = g_ascii_strtoull (ssize, NULL, 10);
129
129
 
130
 
                if (comm->file_list != NULL) {
131
 
                        fdata = (FileData *) comm->file_list->data;
132
 
                        fdata->size = size;
133
 
                }
 
130
                if (unstuff_comm->fdata != NULL) 
 
131
                        unstuff_comm->fdata->size = size;
 
132
 
134
133
                return;
135
134
        }
136
135
 
172
171
        fdata->size = 0;
173
172
        fdata->modified = time (NULL);
174
173
 
175
 
        comm->file_list = g_list_prepend (comm->file_list, fdata);
 
174
        unstuff_comm->fdata = fdata;
 
175
        fr_command_add_file (comm, fdata);
176
176
 
177
177
        unlink (real_filename);
178
178
        g_free (real_filename);