forked from enlightenment/edi
Open diffs in a new window if requested
This commit is contained in:
parent
854ebe1566
commit
32fd7043ca
|
@ -367,6 +367,8 @@ _edi_mainview_win_stat_done(void *data, Eio_File *handler EINA_UNUSED, const Ein
|
||||||
options->type = "text"; // TODO make a code view
|
options->type = "text"; // TODO make a code view
|
||||||
else if (!strncasecmp(mime, "image/", 6))
|
else if (!strncasecmp(mime, "image/", 6))
|
||||||
options->type = "image";
|
options->type = "image";
|
||||||
|
else if (!strcasecmp(mime, "text/x-diff") || !strcasecmp(mime, "text/x-patch"))
|
||||||
|
options->type = "diff";
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_edi_mainview_choose_type(nf, options, _edi_mainview_choose_type_win_cb);
|
_edi_mainview_choose_type(nf, options, _edi_mainview_choose_type_win_cb);
|
||||||
|
|
Loading…
Reference in New Issue