Rename GConfKeybindingToAccel to PrefKeybindingToAccel. Also did a general
2007-02-20 Sandy Armstrong <email address hidden>
* 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.
Added directory. First cut at a factory for platform-specific
2007-02-08 Sandy Armstrong <email address hidden>
* Tomboy/Platform: Added directory.
* Tomboy/Platform/PlatformFactory.cs: First cut at a factory for platform-specific implementations. Ideal place for #ifdefs.
* Tomboy/Platform/GConfPreferencesClient.cs: GConf.Client proxy.
* Tomboy/Platform/PreferencesClient.cs: Interfaces used by Tomboy to communicate with native prefs clients.
* Tomboy/Platform/GnomeApplication.cs: Implementation of INativeApplication for GNOME.
* Tomboy/Platform/NativeApplication.cs: Interfaces used by Tomboy to set up a native app.
* Tomboy/Watchers.cs: Remove GConf.
* Tomboy/NoteWindow.cs: Remove GConf.
* Tomboy/NoteManager.cs: Remove GConf.
* Tomboy/Utils.cs: Refactor Application class to use an INativeApplication.
* Tomboy/Preferences.cs: Replace GConf.Client with IPreferencesClient. Ditto for GConf.PropertyEditors.
* Tomboy/XKeybinder.cs: Remove GConf.
* Tomboy/Makefile.am: Add Tomboy/Platform/*.cs.
* Tomboy/Tomboy.cs: Removed unnecessary "Tomboy." before ActionManager references.