~ubuntu-branches/ubuntu/hardy/pcmanfm/hardy-backports

« back to all changes in this revision

Viewing changes to src/ptk/ptk-file-task.c

  • Committer: Bazaar Package Importer
  • Author(s): J?r?me Guelfucci
  • Date: 2008-07-01 00:40:37 UTC
  • mfrom: (5.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080701004037-q6pfacskp0xnk10k
Tags: 0.4.3-1~hardy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
*  C Implementation: ptk-file-task
3
3
*
4
 
* Description: 
 
4
* Description:
5
5
*
6
6
*
7
7
* Author: Hong Jen Yee (PCMan) <pcman.tw (AT) gmail.com>, (C) 2006
95
95
 
96
96
gboolean open_up_progress_dlg( PtkFileTask* task )
97
97
{
98
 
    GtkLabel * action;
99
 
    GtkLabel* from;
100
 
    GtkLabel* to;
101
 
    GtkLabel* cur;
102
98
    GtkTable* table;
103
99
    GtkLabel* label;
104
100
 
308
304
            data->complete_notify( task, data->user_data );
309
305
        vfs_file_task_free( data->task );
310
306
        data->task = NULL;
 
307
        ptk_file_task_destroy( data );
311
308
        break;
312
309
    case VFS_FILE_TASK_QUERY_OVERWRITE:
313
310
        new_dest = ( char** ) state_data;
330
327
            data->timeout = 0;
331
328
        }
332
329
        ptk_show_error( data->progress_dlg ? GTK_WINDOW(data->progress_dlg) : data->parent_window,
 
330
                        _("Error"),
333
331
                        state_data ? (char*)state_data : g_strerror( task->error ) );
334
332
        ret = FALSE;   /* abort */
335
333
        break;