Top |
GtkWidget * | thunar_renamer_progress_new () |
void | thunar_renamer_progress_cancel () |
gboolean | thunar_renamer_progress_running () |
void | thunar_renamer_progress_run () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── ThunarRenamerProgress
GtkWidget *
thunar_renamer_progress_new (void
);
Allocates a new ThunarRenamerProgress instance.
void
thunar_renamer_progress_cancel (ThunarRenamerProgress *renamer_progress
);
Cancels any pending rename operation for renamer_progress
.
gboolean
thunar_renamer_progress_running (ThunarRenamerProgress *renamer_progress
);
Returns TRUE
if renamer_progress
is running.
void thunar_renamer_progress_run (ThunarRenamerProgress *renamer_progress
,GList *pair_list
);
Renames all ThunarRenamePairs in the specified pair_list
using the renamer_progress
.
This method uses thunar_renamer_progress_run_helper function to rename all the given pairs. It first tries to rename all the pairs and stores all the failed pairs. Then it sorts the failed pairs in ascending order and again tries to rename them. If still some pairs are left then it sorts them in descending order and then tries to rename them.