linux: Fix build
This commit is contained in:
parent
d45b9cadc7
commit
27e9f4d091
|
@ -20,12 +20,12 @@ using Gtk;
|
|||
|
||||
namespace SparkleShare {
|
||||
|
||||
public class SparkleAbout : Window {
|
||||
public class SparkleNote : Window {
|
||||
|
||||
public SparkleNoteController Controller = new SparkleNoteController ();
|
||||
|
||||
|
||||
public SparkleAbout () : base ("Sync")
|
||||
public SparkleNote () : base ("Sync")
|
||||
{
|
||||
SetWmclass ("SparkleShare", "SparkleShare");
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@ namespace SparkleShare {
|
|||
|
||||
item.Submenu = new Menu ();
|
||||
|
||||
this.state_menu_items [i] = new MenuItem (project.StatusMessage) { Sensitive = false };
|
||||
this.state_menu_items [i] = new SparkleMenuItem (project.StatusMessage) { Sensitive = false };
|
||||
|
||||
(item.Submenu as Menu).Add (this.state_menu_items [i]);
|
||||
(item.Submenu as Menu).Add (new SeparatorMenuItem ());
|
||||
|
@ -152,13 +152,13 @@ namespace SparkleShare {
|
|||
|
||||
foreach (KeyValuePair<string, string> pair in project.UnsyncedChangesInfo)
|
||||
(item.Submenu as Menu).Add (new MenuItem (pair.Key) {
|
||||
Image = new Image () {
|
||||
File = new string [] {icons_path, pair.Value.Replace ("-12", "")}.Combine () },
|
||||
// Image = new Image () {
|
||||
// File = new string [] {icons_path, pair.Value.Replace ("-12", "")}.Combine () },
|
||||
Sensitive = false
|
||||
});
|
||||
|
||||
if (!string.IsNullOrEmpty (project.MoreUnsyncedChanges)) {
|
||||
(item.Submenu as Menu).Add (new MenuItem (MoreUnsyncedChanges) {
|
||||
(item.Submenu as Menu).Add (new MenuItem (project.MoreUnsyncedChanges) {
|
||||
Sensitive = false
|
||||
});
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ namespace SparkleShare {
|
|||
|
||||
public void Run ()
|
||||
{
|
||||
(this.application as GLib.Application).Run (0, null);
|
||||
(this.application as GLib.Application).Run (null, null);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue