[file-roller: 10/26] file selector: clear the selection when resetting the options
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller: 10/26] file selector: clear the selection when resetting the options
- Date: Thu, 9 Aug 2012 20:18:51 +0000 (UTC)
commit 6f2a47a2e217955c9f723ac3ace63c5d0f72400b
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Aug 8 19:41:28 2012 +0200
file selector: clear the selection when resetting the options
src/dlg-add.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/dlg-add.c b/src/dlg-add.c
index b113fff..1ac9c77 100644
--- a/src/dlg-add.c
+++ b/src/dlg-add.c
@@ -309,20 +309,17 @@ clear_options_activate_cb (GtkMenuItem *menu_item,
DialogData *data)
{
GFile *folder;
- GList *files;
folder = fr_file_selector_dialog_get_current_folder (FR_FILE_SELECTOR_DIALOG (data->dialog));
- files = fr_file_selector_dialog_get_selected_files (FR_FILE_SELECTOR_DIALOG (data->dialog));
sync_widgets_with_options (data,
folder,
- files,
+ NULL,
"",
"",
"",
FALSE,
TRUE);
- _g_object_list_unref (files);
_g_object_unref (folder);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]