linux bubbles: Fix icon name
This commit is contained in:
parent
6f826ba205
commit
98def409a5
|
@ -18,7 +18,7 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
using Gtk;
|
using Gtk;
|
||||||
//using Notifications;
|
using Notifications;
|
||||||
|
|
||||||
using Sparkles;
|
using Sparkles;
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ namespace SparkleShare {
|
||||||
public class SparkleBubbles {
|
public class SparkleBubbles {
|
||||||
|
|
||||||
public SparkleBubblesController Controller = new SparkleBubblesController ();
|
public SparkleBubblesController Controller = new SparkleBubblesController ();
|
||||||
/*
|
|
||||||
|
|
||||||
public SparkleBubbles ()
|
public SparkleBubbles ()
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,7 @@ namespace SparkleShare {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void ShowBubbleEvent (string title, string subtext, string image_path)
|
void ShowBubbleEvent (string title, string subtext, string image_path)
|
||||||
{
|
{
|
||||||
if (!SparkleShare.Controller.NotificationsEnabled)
|
if (!SparkleShare.Controller.NotificationsEnabled)
|
||||||
return;
|
return;
|
||||||
|
@ -51,15 +51,15 @@ namespace SparkleShare {
|
||||||
if (image_path != null)
|
if (image_path != null)
|
||||||
notification.Icon = new Gdk.Pixbuf (image_path);
|
notification.Icon = new Gdk.Pixbuf (image_path);
|
||||||
else
|
else
|
||||||
notification.IconName = "folder-sparkleshare";
|
notification.IconName = "org.sparkleshare.SparkleShare";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
notification.Show ();
|
notification.Show ();
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Logger.LogInfo ("Notification", "Error showing notification: ", e);
|
Logger.LogInfo ("Notification", "Could not show notification: ", e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue