Beispiel #1
0
void dt_collection_hint_message(const dt_collection_t *collection)
{
  /* collection hinting */
  gchar message[1024];
  int c = dt_collection_get_count(collection);
  int cs = dt_collection_get_selected_count(collection);
  g_snprintf(message, 1024,
             ngettext("%d image of %d in current collection is selected", "%d images of %d in current collection are selected", cs), cs, c);
  dt_control_hinter_message(darktable.control, message);
}
Beispiel #2
0
gboolean dt_collection_hint_message_internal(void *message)
{
  dt_control_hinter_message(darktable.control, message);
  g_free(message);
  return FALSE;
}