[gthumb/gthumb-3-4] new folder: open the created folder
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb/gthumb-3-4] new folder: open the created folder
- Date: Wed, 17 Aug 2016 15:30:55 +0000 (UTC)
commit 5554e162fdb08bac9e1b0c804e593b97048465e8
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Aug 12 09:58:48 2016 +0200
new folder: open the created folder
extensions/file_manager/actions.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/extensions/file_manager/actions.c b/extensions/file_manager/actions.c
index 6283ee5..9c32a98 100644
--- a/extensions/file_manager/actions.c
+++ b/extensions/file_manager/actions.c
@@ -42,7 +42,7 @@ typedef struct {
static void
-new_fodler_data_free (NewFolderData *data)
+new_folder_data_free (NewFolderData *data)
{
g_object_unref (data->parent);
g_free (data);
@@ -60,7 +60,7 @@ new_folder_dialog_response_cb (GtkWidget *dialog,
GError *error = NULL;
if (response_id != GTK_RESPONSE_OK) {
- new_fodler_data_free (data);
+ new_folder_data_free (data);
gtk_widget_destroy (dialog);
return;
}
@@ -112,7 +112,8 @@ new_folder_dialog_response_cb (GtkWidget *dialog,
g_clear_error (&error);
}
else {
- new_fodler_data_free (data);
+ gth_browser_load_location (data->browser, folder);
+ new_folder_data_free (data);
gtk_widget_destroy (dialog);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]