tomboy r1813 - in trunk: . Tomboy/Notebooks



Author: kkubasik
Date: Mon Jan 28 22:13:39 2008
New Revision: 1813
URL: http://svn.gnome.org/viewvc/tomboy?rev=1813&view=rev

Log:
* Tomboy/Notebooks/NotebookApplicationAddin.cs,
  Tomboy/Notebooks/NotebookNewNoteMenuItem.cs: Start to properly
  iconfiy Tomboy.

Modified:
   trunk/ChangeLog
   trunk/Tomboy/Notebooks/NotebookApplicationAddin.cs
   trunk/Tomboy/Notebooks/NotebookNewNoteMenuItem.cs

Modified: trunk/Tomboy/Notebooks/NotebookApplicationAddin.cs
==============================================================================
--- trunk/Tomboy/Notebooks/NotebookApplicationAddin.cs	(original)
+++ trunk/Tomboy/Notebooks/NotebookApplicationAddin.cs	Mon Jan 28 22:13:39 2008
@@ -165,7 +165,7 @@
 			Gtk.ImageMenuItem newNotebookMenuItem =
 				new Gtk.ImageMenuItem (Catalog.GetString ("New Note_book..."));
 			// TODO: Replace this new stock icon with a tomboy-new-notebook icon
-			newNotebookMenuItem.Image = new Gtk.Image (Gtk.Stock.New, Gtk.IconSize.Menu);
+			newNotebookMenuItem.Image = new Gtk.Image(GuiUtils.GetIcon("tomboy-new-notebook",22));
 			newNotebookMenuItem.Activated += OnNewNotebookMenuItem;
 			newNotebookMenuItem.ShowAll ();
 			menu.Append (newNotebookMenuItem);

Modified: trunk/Tomboy/Notebooks/NotebookNewNoteMenuItem.cs
==============================================================================
--- trunk/Tomboy/Notebooks/NotebookNewNoteMenuItem.cs	(original)
+++ trunk/Tomboy/Notebooks/NotebookNewNoteMenuItem.cs	Mon Jan 28 22:13:39 2008
@@ -28,8 +28,8 @@
 							   notebook.Name))
 		{
 			this.notebook = notebook;
-			//this.Image = new Gtk.Image (noteIcon);
-			this.Image = new Gtk.Image (Gtk.Stock.New, Gtk.IconSize.Menu);
+			this.Image = new Gtk.Image (GuiUtils.GetIcon ("tomboy-new-notebook", 48));
+			//this.Image = new Gtk.Image (Gtk.Stock.New, Gtk.IconSize.Menu);
 			
 			Activated += OnActivated;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]