@icy commented on this pull request.
> - gchar *label = g_markup_printf_escaped ("<big>%s</big>", item_label); + gchar *basename = g_path_get_basename (item_label); + gchar *dirname = g_path_get_dirname (item_label); + gchar *dirname_basename = g_path_get_basename(dirname); + gchar *label; + + if (g_strcmp0(".", dirname_basename) == 0) { + label = g_markup_printf_escaped ("<big>%s</big>", basename); + } else { + label = g_markup_printf_escaped ("<big>%s/%s</big>", dirname_basename, basename); + } Yes, that may be a problem, and in that case, it's also possible to see all details in the smaller part of the menu item ( `Edit → Insert Date → yyyy/mm/dd`). -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/1394#discussion_r1943473692 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/pull/1394/review/2596657...@github.com>