regex
This commit is contained in:
parent
82c55face6
commit
c169a52b9b
1 changed files with 2 additions and 4 deletions
|
@ -253,7 +253,7 @@ namespace Webpin.Widgets.Views {
|
||||||
|
|
||||||
var icon_path = result;
|
var icon_path = result;
|
||||||
if (!result.has_prefix ("http")) {
|
if (!result.has_prefix ("http")) {
|
||||||
result = Path.build_filename (url, result);
|
icon_path = Path.build_filename (url, result);
|
||||||
}
|
}
|
||||||
download_icon (icon_path);
|
download_icon (icon_path);
|
||||||
icon_name_entry.set_text (tmp_icon_file);
|
icon_name_entry.set_text (tmp_icon_file);
|
||||||
|
@ -267,14 +267,12 @@ namespace Webpin.Widgets.Views {
|
||||||
|
|
||||||
var icon_path = result;
|
var icon_path = result;
|
||||||
if (!result.has_prefix ("http")) {
|
if (!result.has_prefix ("http")) {
|
||||||
result = Path.build_filename (url, result);
|
icon_path = Path.build_filename (url, result);
|
||||||
}
|
}
|
||||||
download_icon (icon_path);
|
download_icon (icon_path);
|
||||||
icon_name_entry.set_text (tmp_icon_file);
|
icon_name_entry.set_text (tmp_icon_file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
msg.dispose ();
|
msg.dispose ();
|
||||||
session.dispose ();
|
session.dispose ();
|
||||||
|
|
Loading…
Reference in a new issue