bar_pane_exif_update(ped);
}
+static void bar_pane_exif_notify_cb(FileData *fd, NotifyType type, gpointer data)
+{
+ PaneExifData *ped = data;
+ if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_METADATA)) && fd == ped->fd) bar_pane_exif_update(ped);
+}
+
/*
*-------------------------------------------------------------------
* dnd
{
PaneExifData *ped = data;
+ file_data_unregister_notify_func(bar_pane_exif_notify_cb, ped);
g_object_unref(ped->size_group);
file_data_unref(ped->fd);
g_free(ped);
bar_pane_exif_dnd_init(ped->widget);
g_signal_connect(ped->widget, "button_press_event", G_CALLBACK(bar_pane_exif_menu_cb), ped);
+ file_data_register_notify_func(bar_pane_exif_notify_cb, ped, NOTIFY_PRIORITY_LOW);
+
if (populate)
{
bar_pane_exif_add_entry(ped, EXIF_FORMATTED("Camera"), NULL, TRUE);