Commit cdd236dd authored by Benjamin Otte's avatar Benjamin Otte

filechooserentry: Merge function

parent c585471b
......@@ -1367,14 +1367,6 @@ perform_load_complete_action (GtkFileChooserEntry *chooser_entry)
chooser_entry->load_complete_action = LOAD_COMPLETE_NOTHING;
}
static void
finish_folder_load (GtkFileChooserEntry *chooser_entry)
{
perform_load_complete_action (chooser_entry);
gtk_widget_set_tooltip_text (GTK_WIDGET (chooser_entry), NULL);
}
/* Callback when the current folder finishes loading */
static void
finished_loading_cb (GtkFileSystemModel *model,
......@@ -1403,7 +1395,9 @@ finished_loading_cb (GtkFileSystemModel *model,
return;
}
finish_folder_load (chooser_entry);
perform_load_complete_action (chooser_entry);
gtk_widget_set_tooltip_text (GTK_WIDGET (chooser_entry), NULL);
}
static RefreshStatus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment