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

« back to all changes in this revision

Viewing changes to src/file-data.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:
34
34
 
35
35
 
36
36
FileData *
37
 
file_data_new ()
 
37
file_data_new (void)
38
38
{
39
39
        FileData *fdata;
40
40
 
41
41
        fdata = g_new0 (FileData, 1);
42
42
        fdata->mime_type = 0;
43
43
        fdata->free_original_path = FALSE;
44
 
 
 
44
        fdata->dir_size = 0;
 
45
        
45
46
        if (mime_type_hash == NULL)
46
47
                mime_type_hash = g_hash_table_new_full (g_int_hash, 
47
48
                                                        g_int_equal,
93
94
        fdata->mime_type = src->mime_type;
94
95
        fdata->encrypted = src->encrypted;
95
96
        fdata->dir = src->dir;
 
97
        fdata->dir_size = src->dir_size;
96
98
 
97
99
        fdata->list_dir = src->list_dir;
98
100
        fdata->list_name = g_strdup (src->list_name);