tomboy r2107 - in branches/tomboy-portable2: . Tomboy Tomboy/Addins/InsertTimestamp
- From: sharm svn gnome org
- To: svn-commits-list gnome org
- Subject: tomboy r2107 - in branches/tomboy-portable2: . Tomboy Tomboy/Addins/InsertTimestamp
- Date: Thu, 28 Aug 2008 22:06:15 +0000 (UTC)
Author: sharm
Date: Thu Aug 28 22:06:15 2008
New Revision: 2107
URL: http://svn.gnome.org/viewvc/tomboy?rev=2107&view=rev
Log:
* Tomboy/Addins/InsertTimestamp/InsertTimestampPreferences.cs: Use
PlatformFactory to get an IPropertyEditor.
* Tomboy/PlatformFactory.cs: Make PlatformFactory public.
Modified:
branches/tomboy-portable2/ChangeLog
branches/tomboy-portable2/Tomboy/Addins/InsertTimestamp/InsertTimestampPreferences.cs
branches/tomboy-portable2/Tomboy/PlatformFactory.cs
Modified: branches/tomboy-portable2/Tomboy/Addins/InsertTimestamp/InsertTimestampPreferences.cs
==============================================================================
--- branches/tomboy-portable2/Tomboy/Addins/InsertTimestamp/InsertTimestampPreferences.cs (original)
+++ branches/tomboy-portable2/Tomboy/Addins/InsertTimestamp/InsertTimestampPreferences.cs Thu Aug 28 22:06:15 2008
@@ -6,7 +6,6 @@
using System;
using System.Collections.Generic;
-using GConf.PropertyEditors;
using Mono.Unix;
using Tomboy;
@@ -91,7 +90,7 @@
custom_entry = new Gtk.Entry ();
customBox.PackStart (custom_entry);
- PropertyEditorEntry entryEditor = new PropertyEditorEntry (
+ IPropertyEditor entryEditor = PlatformFactory.CreatePropertyEditorEntry (
Preferences.INSERT_TIMESTAMP_FORMAT, custom_entry);
entryEditor.Setup ();
Modified: branches/tomboy-portable2/Tomboy/PlatformFactory.cs
==============================================================================
--- branches/tomboy-portable2/Tomboy/PlatformFactory.cs (original)
+++ branches/tomboy-portable2/Tomboy/PlatformFactory.cs Thu Aug 28 22:06:15 2008
@@ -1,6 +1,6 @@
namespace Tomboy
{
- class PlatformFactory
+ public class PlatformFactory
{
public static IPropertyEditor CreatePropertyEditorEntry (string key, Gtk.Entry sourceEntry)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]