[Monodevelop-patches-list] r1068 - in trunk/MonoDevelop: data/resources/glade src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sun Feb 29 15:29:46 EST 2004
Author: dkor
Date: 2004-02-29 15:29:46 -0500 (Sun, 29 Feb 2004)
New Revision: 1068
Modified:
trunk/MonoDevelop/data/resources/glade/Base.glade
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs
Log:
Internationalized, Modified CompileFileOptionsPanelproperties in UI
Modified: trunk/MonoDevelop/data/resources/glade/Base.glade
===================================================================
--- trunk/MonoDevelop/data/resources/glade/Base.glade 2004-02-29 19:46:44 UTC (rev 1067)
+++ trunk/MonoDevelop/data/resources/glade/Base.glade 2004-02-29 20:29:46 UTC (rev 1068)
@@ -3432,9 +3432,9 @@
<property name="spacing">6</property>
<child>
- <widget class="GtkLabel" id="IncludeLabel">
+ <widget class="GtkLabel" id="includeLabel">
<property name="visible">True</property>
- <property name="label" translatable="yes">_Include files in compile run</property>
+ <property name="label" translatable="yes">_Include files in compile run-</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs 2004-02-29 19:46:44 UTC (rev 1067)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs 2004-02-29 20:29:46 UTC (rev 1068)
@@ -29,25 +29,29 @@
public class CompileFileProjectOptions : AbstractOptionPanel
{
- // FIXME
- // - internationalize
- // SetupFromXml(Path.Combine(PropertyService.DataDirectory,
- // @"resources\panels\CompileFileProjectOptions.xfrm"));
-
class CompileFileOptionsWidget : GladeWidgetExtract
{
// Gtk Controls
+ [Glade.Widget] Label includeLabel;
[Glade.Widget] Gtk.TreeView includeTreeView;
public ListStore store;
+ // Services
+ StringParserService StringParserService = (StringParserService)ServiceManager.Services.GetService (
+ typeof (StringParserService));
+ FileUtilityService fileUtilityService = (FileUtilityService)ServiceManager.Services.GetService(
+ typeof(FileUtilityService));
+
IProject project;
- FileUtilityService fileUtilityService = (FileUtilityService)ServiceManager.Services.GetService(typeof(FileUtilityService));
public CompileFileOptionsWidget (IProperties CustomizationObject) :
base ("Base.glade", "CompileFileOptionsPanel")
{
this.project = (IProject)((IProperties)CustomizationObject).GetProperty("Project");
+ includeLabel.Text = StringParserService.Parse(
+ "${res:Dialog.Options.PrjOptions.CompileFile.IncludeGroupBox}");
+ includeLabel.UseUnderline = true;
store = new ListStore (typeof(bool), typeof(string));
includeTreeView.Selection.Mode = SelectionMode.None;
includeTreeView.Model = store;
More information about the Monodevelop-patches-list
mailing list