Skip to content

Commit

Permalink
todo list icon
Browse files Browse the repository at this point in the history
  • Loading branch information
gz committed May 26, 2010
1 parent f6d037b commit 9e62e8d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
Binary file added Icons/todo-icon24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ the sources.
The requirements docuement can be found in doc/requirements. Use make to create
a PDF from the LaTeX sources.

Many thanks to http://hbons.deviantart.com/ for the todo list icon.

--
The Addin is currently hosted on github: http://github.com/rggjan/Tomboy-Todo-List.

Expand Down
9 changes: 6 additions & 3 deletions TaskManagerGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@
//

using System;
using System.IO;
using System.Reflection;
using Mono.Unix;
using Gtk;
using Gdk;
using Tomboy;

namespace Tomboy.TaskManager
Expand All @@ -41,7 +44,7 @@ public class TaskManagerGui
private Gtk.MenuItem add_priority = new Gtk.MenuItem (Catalog.GetString ("Add Priority"));
private Gtk.MenuItem add_duedate = new Gtk.MenuItem (Catalog.GetString ("Add Duedate"));
private Gtk.CheckMenuItem show_priority = new Gtk.CheckMenuItem (Catalog.GetString ("Show Priorities"));
private Gtk.MenuToolButton menu_tool_button = new Gtk.MenuToolButton (Gtk.Stock.Strikethrough);
private Gtk.MenuToolButton menu_tool_button;

private TaskManagerNoteAddin addin;

Expand Down Expand Up @@ -91,8 +94,8 @@ public TaskManagerGui (TaskManagerNoteAddin addin)
task_menu.Add (print_structure);
}

menu_tool_button.IconName = "ghi";
//Not working!
var image = new Gtk.Image(null, "Tomboy.TaskManager.Icons.todo-icon24.png");
menu_tool_button = new Gtk.MenuToolButton (image, null);

menu_tool_button.TooltipText = Catalog.GetString ("Add a new TaskList");
menu_tool_button.ArrowTooltipText = Catalog.GetString ("Set TaskList properties");
Expand Down
6 changes: 5 additions & 1 deletion Tomboy-Todo-List.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,16 @@
<EmbeddedResource Include="Tests\DoubleTaskListNote.xml" />
<EmbeddedResource Include="Tests\NoTaskListNote.xml" />
<EmbeddedResource Include="Tests\AllDoneTaskListNote.xml" />
<EmbeddedResource Include="Icons\todo-icon.png" />
<EmbeddedResource Include="Icons\todo-icon32.png" />
<EmbeddedResource Include="Icons\todo-icon16.png" />
<EmbeddedResource Include="Icons\todo-icon24.png" />
</ItemGroup>
<ProjectExtensions>
<MonoDevelop>
<Properties InternalTargetFrameworkVersion="3.5">
<Policies>
<StandardHeader Text="Permission is hereby granted, free of charge, to any person obtaining&#xA;a copy of this software and associated documentation files (the&#xA;&quot;Software&quot;), to deal in the Software without restriction, including&#xA;without limitation the rights to use, copy, modify, merge, publish,&#xA;distribute, sublicense, and/or sell copies of the Software, and to&#xA;permit persons to whom the Software is furnished to do so, subject to&#xA;the following conditions:&#xA; &#xA;The above copyright notice and this permission notice shall be&#xA;included in all copies or substantial portions of the Software.&#xA; &#xA;THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,&#xA;EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF&#xA;MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND&#xA;NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE&#xA;LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION&#xA;OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION&#xA;WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.&#xA; &#xA;Authors:&#xA; Jan Rüegg &lt;[email protected]&gt;&#xA; Gabriel Walch &lt;[email protected]&gt;&#xA; Gerd Zellweger &lt;[email protected]&gt;&#xA;" inheritsSet="Apache2License" />
<StandardHeader Text="Permission is hereby granted, free of charge, to any person obtaining&#xA;a copy of this software and associated documentation files (the&#xA;&quot;Software&quot;), to deal in the Software without restriction, including&#xA;without limitation the rights to use, copy, modify, merge, publish,&#xA;distribute, sublicense, and/or sell copies of the Software, and to&#xA;permit persons to whom the Software is furnished to do so, subject to&#xA;the following conditions:&#xA; &#xA;The above copyright notice and this permission notice shall be&#xA;included in all copies or substantial portions of the Software.&#xA; &#xA;THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,&#xA;EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF&#xA;MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND&#xA;NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE&#xA;LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION&#xA;OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION&#xA;WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.&#xA; &#xA;Authors:&#xA; Jan Rüegg &lt;[email protected]&gt;&#xA; Gabriel Walch &lt;[email protected]&gt;&#xA; Gerd Zellweger &lt;[email protected]&gt;&#xA;" inheritsSet="MITX11License" />
</Policies>
</Properties>
</MonoDevelop>
Expand Down

0 comments on commit 9e62e8d

Please sign in to comment.