diff options
Diffstat (limited to 'app-misc/tomboy/files/tomboy-0.4.1-init-some-stuff.patch')
-rw-r--r-- | app-misc/tomboy/files/tomboy-0.4.1-init-some-stuff.patch | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/app-misc/tomboy/files/tomboy-0.4.1-init-some-stuff.patch b/app-misc/tomboy/files/tomboy-0.4.1-init-some-stuff.patch deleted file mode 100644 index 17e8b7e16617..000000000000 --- a/app-misc/tomboy/files/tomboy-0.4.1-init-some-stuff.patch +++ /dev/null @@ -1,62 +0,0 @@ ---- Tomboy/Tray.cs.orig 2006-10-03 14:58:21.000000000 -0500 -+++ Tomboy/Tray.cs 2006-10-03 15:01:31.000000000 -0500 -@@ -50,8 +50,6 @@ - tips.Sink (); - - SetupDragAndDrop (); -- -- InitSomeStuff (); - } - - void ButtonPress (object sender, Gtk.ButtonPressEventArgs args) -@@ -398,49 +396,9 @@ - int icon_size = Math.Min (rect.Height, rect.Width); - if (icon_size_last != icon_size) { - icon_size_last = icon_size; -- image.Pixbuf = GuiUtils.GetIcon (GetIconName (), icon_size); -- } -- } -- -- void ReloadIcon () -- { -- icon_size_last = -1; -- QueueResize (); -+ image.Pixbuf = GuiUtils.GetIcon ("tomboy", icon_size); - } -- -- // NOTHING TO SEE HERE -- void InitSomeStuff () -- { -- manager.NoteDeleted += OnNoteDeletedUpdateIcon; -- manager.NoteAdded += OnNoteAddedUpdateIcon; -- manager.NoteRenamed += OnNoteRenamedUpdateIcon; -- } -- -- void OnNoteDeletedUpdateIcon (object sender, Note changed) -- { -- if (changed.Title == "Tintin") -- ReloadIcon (); -- } -- -- void OnNoteAddedUpdateIcon (object sender, Note changed) -- { -- if (changed.Title == "Tintin") -- ReloadIcon (); -- } -- -- void OnNoteRenamedUpdateIcon (Note note, string old_title) -- { -- if (note.Title == "Tintin" || old_title == "Tintin") -- ReloadIcon (); -- } -- -- string GetIconName () -- { -- if (manager.Find ("Tintin") != null) -- return "tintin"; -- return "tomboy"; - } -- // GO ABOUT YOUR BUSINESS - } - - // |