![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "system/macros.h"#include "common/paths.h"#include "common/conf.h"#include "control/jobs/control_jobs.h"#include "system/mem_alloc.h"#include "common/usermanual_url.h"#include "control/signal.h"#include "gui/application.h"#include "widgets/accelerators.h"#include "gui/actions/menu.h"#include "osx/osx.h"#include "common/collection.h"#include "common/image.h"#include "common/selection.h"#include "libs/collect.h"#include "gui/import.h"#include "libs/lib.h"#include "control/control.h"#include "widgets/widget_settings.h"#include "widgets/widget_style.h"
Include dependency graph for file.c:Go to the source code of this file.
Typedefs | |
| typedef enum dt_export_list_mode_t | dt_export_list_mode_t |
Enumerations | |
| enum | dt_export_list_mode_t { DT_EXPORT_LIST_IDS = 0 , DT_EXPORT_LIST_FILENAMES = 1 } |
Functions | |
| static void | pretty_print_collection (const char *buf, char *out, size_t outsize) |
| static gboolean | update_collection_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| void | init_collection_line (gpointer instance, dt_collection_change_t query_change, dt_collection_properties_t changed_property, gpointer imgs, int next, gpointer user_data) |
| void | _close_export_popup (GtkWidget *dialog, gint response_id, gpointer data) |
| static gboolean | export_files_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gchar * | _export_list_build (GList *imgids, const int mode, const gboolean one_per_line) |
| static void | _export_list_fill (GtkComboBox *combo, gpointer user_data) |
| static void | _export_list_save (GtkWidget *dialog, GtkTextBuffer *buffer) |
| static void | _export_list_response (GtkWidget *dialog, gint response_id, gpointer user_data) |
| static gboolean | export_image_list_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| void | append_file (GtkWidget **menus, GList **lists, const dt_menus_t index) |
| typedef enum dt_export_list_mode_t dt_export_list_mode_t |
Definition at line 150 of file file.c.
References dt_gui_get_global(), dt_gui_gtk_t::export_popup, and dt_gui_gtk_t::window.
Referenced by export_files_callback().
|
static |
Definition at line 230 of file file.c.
References DT_EXPORT_LIST_FILENAMES, dt_image_full_path(), DT_PATH_MAX, and FALSE.
Referenced by _export_list_fill(), and _export_list_save().
|
static |
Definition at line 261 of file file.c.
References _export_list_build(), and FALSE.
Referenced by export_image_list_callback().
|
static |
Definition at line 300 of file file.c.
References _export_list_save(), and FALSE.
Referenced by export_image_list_callback().
Definition at line 270 of file file.c.
References _export_list_build(), dt_control_log(), DT_EXPORT_LIST_FILENAMES, error(), and TRUE.
Referenced by _export_list_response().
| void append_file | ( | GtkWidget ** | menus, |
| GList ** | lists, | ||
| const dt_menus_t | index | ||
| ) |
Definition at line 392 of file file.c.
References add_menu_separator(), add_no_accel_sub_menu_entry(), add_sub_menu_entry(), add_sub_sub_menu_entry(), add_top_submenu_entry(), DT_COLLECTION_CHANGE_NONE, DT_COLLECTION_PROP_UNDEF, dt_control_copy_images(), dt_control_delete_images(), dt_control_merge_hdr(), dt_control_move_images(), dt_control_quit(), dt_control_remove_images(), dt_control_reset_local_copy_images(), dt_control_set_local_copy_images(), dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_CONNECT, dt_free, dt_images_import(), DT_PRIMARY_MASK, DT_SIGNAL_COLLECTION_CHANGED, export_files_callback(), export_image_list_callback(), GET_ACCEL_WRAPPER, get_last_widget(), has_active_image_in_lighttable(), has_active_images(), has_selection(), i, init_collection_line(), NUM_LAST_COLLECTIONS, and update_collection_callback().
Referenced by dt_ui_init_global_menu().
|
static |
Definition at line 161 of file file.c.
References _close_export_popup(), dt_get_help_url(), dt_gui_add_help_link(), dt_gui_get_global(), dt_gui_main_window(), dt_lib_gui_get_expander(), dt_lib_gui_set_expanded(), dt_osx_disallow_fullscreen(), DT_PIXEL_APPLY_DPI, dt_gui_gtk_t::export_popup, FALSE, IS_NULL_PTR, TRUE, and dt_gui_gtk_t::window.
Referenced by append_file().
|
static |
Definition at line 321 of file file.c.
References _export_list_fill(), _export_list_response(), DT_EXPORT_LIST_IDS, dt_gui_main_window(), dt_osx_disallow_fullscreen(), DT_PIXEL_APPLY_DPI, dt_selection_get_global(), dt_selection_get_list(), FALSE, IS_NULL_PTR, TRUE, and view.
Referenced by append_file().
| void init_collection_line | ( | gpointer | instance, |
| dt_collection_change_t | query_change, | ||
| dt_collection_properties_t | changed_property, | ||
| gpointer | imgs, | ||
| int | next, | ||
| gpointer | user_data | ||
| ) |
Definition at line 117 of file file.c.
References dt_capitalize_label(), dt_conf_get_string_const(), get_custom_data(), and pretty_print_collection().
Referenced by append_file().
|
static |
Definition at line 45 of file file.c.
References dt_collection_name(), DT_COLLECTION_PROP_LAST, dt_image_film_roll_name(), DT_LIB_COLLECT_MODE_AND, DT_LIB_COLLECT_MODE_OR, i, IS_NULL_PTR, k, n, and out.
Referenced by init_collection_line().
|
static |
Definition at line 98 of file file.c.
References dt_collection_deserialize(), dt_conf_get_string_const(), get_custom_data(), and TRUE.
Referenced by append_file().