tomboy r986 - in branches/tomboy-portable/Tomboy: . Platform



Author: sharm
Date: 2007-02-21 07:52:45 +0000 (Wed, 21 Feb 2007)
New Revision: 986
ViewCVS link: http://svn.gnome.org/viewcvs/tomboy?rev=986&view=rev

Added:
   branches/tomboy-portable/Tomboy/Platform/Keybinder.cs
   branches/tomboy-portable/Tomboy/Platform/XKeybinder.cs
Modified:
   branches/tomboy-portable/Tomboy/Applet.cs
   branches/tomboy-portable/Tomboy/Platform/GConfPreferencesClient.cs
   branches/tomboy-portable/Tomboy/Platform/PlatformFactory.cs
   branches/tomboy-portable/Tomboy/Preferences.cs
   branches/tomboy-portable/Tomboy/Tray.cs
   branches/tomboy-portable/Tomboy/XKeybinder.cs
Log:
2007-02-20  Sandy Armstrong  <sanfordarmstrong gmail com>

	* Tomboy/Tray.cs: Rename GConfKeybindingToAccel to PrefKeybindingToAccel.
	  Also did a general s/gconf/pref.
	* Tomboy/Platform/PlatformFactory.cs: Added Keybinder creational method.
	* Tomboy/Platform/Keybinder.cs: Added IKeybinder interface.
	* Tomboy/Platform/GConfPreferencesClient.cs: Redesigned.  Whenever AddNotify
	  is called, the delegate is wrapped in a NotifyWrapper object that handles
	  being notified by GConf, converting event args, and notifying the original
	  delegate.  For some reason RemoveNotify doesn't work, though.  This is
	  a stupid and simple implementation; the orignal would have required more
	  work than it was probably worth to capture all the edge cases.
	* Tomboy/Platform/XKeybinder.cs: Moved XKeybinder class here as an
	  implementation of IKeybinder.
	* Tomboy/Applet.cs: TomboyGConfXKeybinder was renamed to TomboyPrefsKeybinder.
	* Tomboy/Preferences.cs: Removed redundant "changed_handler" member.
	* Tomboy/XKeybinder.cs: Renamed GConfXKeybinder to PrefsKeybinder, and
	  TomboyGConfXKeybinder to TomboyPrefsKeybinder.  PrefsKeybinder contains
	  an IKeybinder (instead of inheriting from XKeybinder).  Also did a lot
	  of s/gconf/pref sort of changes.  PrefsKeybinder.UnbindAll now takes
	  care of unregistering notifications made for each Binding object.





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