linux: Fix compile error
This commit is contained in:
parent
0a702ed534
commit
ac8f3d899c
|
@ -276,11 +276,13 @@ namespace SparkleShare {
|
|||
"file://" + IO.Path.Combine (icons_path, "document-moved.png"));
|
||||
|
||||
|
||||
Application.Invoke (() => {
|
||||
Application.Invoke (delegate {
|
||||
this.spinner.Stop ();
|
||||
|
||||
this.web_view.NavigationRequested -= WebViewNavigationRequested;
|
||||
this.web_view.LoadHtmlString (html, "file://");
|
||||
this.web_view.NavigationRequested += WebViewNavigationRequested;
|
||||
|
||||
this.content_wrapper.Remove (this.content_wrapper.Child);
|
||||
this.content_wrapper.Add (this.scrolled_window);
|
||||
this.content_wrapper.ShowAll ();
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace SparkleShare {
|
|||
|
||||
public static Image GetImage (string name)
|
||||
{
|
||||
string image_path = SparkleHelpers.CombineMore (Defines.INSTALL_DIR, "pixmaps", name);
|
||||
string image_path = new string [] { Defines.INSTALL_DIR, "pixmaps", name };
|
||||
return new Image (image_path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue