[tasque/xbuild] [icons] Fix icon names in code to match icon resource names
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/xbuild] [icons] Fix icon names in code to match icon resource names
- Date: Wed, 19 Sep 2012 19:54:48 +0000 (UTC)
commit 22af0b580cd2fd22617447e8e42d3988dc13d084
Author: Antonius Riha <antoniusriha gmail com>
Date: Wed Sep 19 21:24:32 2012 +0200
[icons] Fix icon names in code to match icon resource names
src/Gtk.Tasque/GtkTray.cs | 2 +-
src/Gtk.Tasque/NoteDialog.cs | 2 +-
src/Gtk.Tasque/PreferencesDialog.cs | 2 +-
src/Gtk.Tasque/RemoteControl.cs | 2 +-
src/Gtk.Tasque/TaskWindow.cs | 4 ++--
5 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/Gtk.Tasque/GtkTray.cs b/src/Gtk.Tasque/GtkTray.cs
index 20d4ea4..68625c0 100644
--- a/src/Gtk.Tasque/GtkTray.cs
+++ b/src/Gtk.Tasque/GtkTray.cs
@@ -155,7 +155,7 @@ namespace Tasque
var about = new AboutDialog ();
about.ProgramName = "Tasque";
about.Version = Defines.Version;
- about.Logo = Utilities.GetIcon("tasque-48", 48);
+ about.Logo = Utilities.GetIcon("tasque", 48);
about.Copyright = Catalog.GetString ("Copyright \xa9 2008 Novell, Inc.");
about.Comments = Catalog.GetString ("A Useful Task List");
about.Website = "http://live.gnome.org/Tasque";
diff --git a/src/Gtk.Tasque/NoteDialog.cs b/src/Gtk.Tasque/NoteDialog.cs
index f0b751a..af10b8e 100644
--- a/src/Gtk.Tasque/NoteDialog.cs
+++ b/src/Gtk.Tasque/NoteDialog.cs
@@ -24,7 +24,7 @@ namespace Tasque
this.Title = String.Format(Catalog.GetString("Notes for: {0:s}"), task.Name);
this.HasSeparator = false;
this.SetSizeRequest(500,320);
- this.Icon = Utilities.GetIcon ("tasque-16", 16);
+ this.Icon = Utilities.GetIcon ("tasque", 16);
//this.Flags = Gtk.DialogFlags.DestroyWithParent;
diff --git a/src/Gtk.Tasque/PreferencesDialog.cs b/src/Gtk.Tasque/PreferencesDialog.cs
index 6c288cb..77d11c0 100644
--- a/src/Gtk.Tasque/PreferencesDialog.cs
+++ b/src/Gtk.Tasque/PreferencesDialog.cs
@@ -92,7 +92,7 @@ namespace Tasque
private void Init()
{
Logger.Debug("Called Preferences Init");
- this.Icon = Utilities.GetIcon ("tasque-16", 16);
+ this.Icon = Utilities.GetIcon ("tasque", 16);
// Update the window title
this.Title = string.Format (Catalog.GetString ("Tasque Preferences"));
diff --git a/src/Gtk.Tasque/RemoteControl.cs b/src/Gtk.Tasque/RemoteControl.cs
index 201a086..ec74ce4 100644
--- a/src/Gtk.Tasque/RemoteControl.cs
+++ b/src/Gtk.Tasque/RemoteControl.cs
@@ -24,7 +24,7 @@ namespace Tasque
static Gdk.Pixbuf tasqueIcon;
static RemoteControl ()
{
- tasqueIcon = Utilities.GetIcon ("tasque-48", 48);
+ tasqueIcon = Utilities.GetIcon ("tasque", 48);
}
public RemoteControl()
diff --git a/src/Gtk.Tasque/TaskWindow.cs b/src/Gtk.Tasque/TaskWindow.cs
index a69ba43..49d6d11 100644
--- a/src/Gtk.Tasque/TaskWindow.cs
+++ b/src/Gtk.Tasque/TaskWindow.cs
@@ -80,7 +80,7 @@ namespace Tasque
static TaskWindow ()
{
- noteIcon = Utilities.GetIcon ("note", 16);
+ noteIcon = Utilities.GetIcon ("tasque-note", 16);
}
public TaskWindow (IBackend aBackend) : base (Gtk.WindowType.Toplevel)
@@ -98,7 +98,7 @@ namespace Tasque
int height;
int width;
- this.Icon = Utilities.GetIcon ("tasque-48", 48);
+ this.Icon = Utilities.GetIcon ("tasque", 48);
// Update the window title
Title = string.Format ("Tasque");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]