34#include <glib/gi18n.h>
47 ngettext(
"%d image in the surveyed folder is not in the library yet.\nImport it now?",
48 "%d images in the surveyed folder are not in the library yet.\nImport them now?",
85 _(
"A studio capture session was monitoring `%s` when Ansel was last closed.\n"
86 "Resume the session?"),
87 folder ? folder :
"");
GtkWidget * dt_gui_main_window(void)
struct _GtkWidget GtkWidget
GtkWidget, opaque, spelled exactly as GTK spells it.
void dt_conf_set_bool(const char *name, int val)
int dt_conf_get_bool(const char *name)
gchar * dt_conf_get_string(const char *name)
struct dt_view_manager_t * dt_view_manager_get_global(void)
void dt_gui_refocus_parent(GtkWindow *parent)
int dt_folder_survey_start()
Validate the persisted configuration and start monitoring.
void dt_folder_survey_forget_session()
Persist the cleared session marker, so resume is not proposed again.
gboolean dt_folder_survey_take_session_marker()
Consume the "a session was monitoring when we last closed" marker.
void dt_folder_survey_set_confirm_import_handler(dt_folder_survey_confirm_import_handler_t handler)
void dt_folder_survey_gui_register_handlers()
static gboolean _confirm_pending_import(int new_files)
gboolean dt_folder_survey_propose_resume()
Propose to resume an interrupted studio session at application start.
int dt_view_manager_switch(dt_view_manager_t *vm, const char *view_name)