Author: everaldo
Date: 2007-06-25 12:26:59 -0400 (Mon, 25 Jun 2007)
New Revision: 80692

Added:
   trunk/moon/desklet/panel/
   trunk/moon/desklet/panel/AssemblyInfo.cs
   trunk/moon/desklet/panel/ChangeLog
   trunk/moon/desklet/panel/Panel.cs
   trunk/moon/desklet/panel/PanelWindow.cs
   trunk/moon/desklet/panel/app.desktop
   trunk/moon/desklet/panel/desklets-panel.mdp
   trunk/moon/desklet/panel/desklets-panel.mds
   trunk/moon/desklet/panel/gtk-gui/
   trunk/moon/desklet/panel/gtk-gui/PanelWindow.cs
   trunk/moon/desklet/panel/gtk-gui/generated.cs
   trunk/moon/desklet/panel/gtk-gui/gui.stetic
Log:
2007-06-25  Everaldo Canuto  <[EMAIL PROTECTED]>

        * all files: Initial desklets panel import.


Added: trunk/moon/desklet/panel/AssemblyInfo.cs
===================================================================
--- trunk/moon/desklet/panel/AssemblyInfo.cs    2007-06-25 15:56:59 UTC (rev 
80691)
+++ trunk/moon/desklet/panel/AssemblyInfo.cs    2007-06-25 16:26:59 UTC (rev 
80692)
@@ -0,0 +1,33 @@
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+// Information about this assembly is defined by the following
+// attributes.
+//
+// change them to the information which is associated with the assembly
+// you compile.
+
+[assembly: AssemblyTitle("")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("")]
+[assembly: AssemblyCopyright("")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// The assembly version has following format :
+//
+// Major.Minor.Build.Revision
+//
+// You can specify all values by your own or you can build default build and 
revision
+// numbers with the '*' character (the default):
+
+[assembly: AssemblyVersion("1.0.*")]
+
+// The following attributes specify the key for the sign of your assembly. See 
the
+// .NET Framework documentation for more information about signing.
+// This is not required, if you don't want signing let these attributes like 
they're.
+[assembly: AssemblyDelaySign(false)]
+[assembly: AssemblyKeyFile("")]

Added: trunk/moon/desklet/panel/ChangeLog
===================================================================
--- trunk/moon/desklet/panel/ChangeLog  2007-06-25 15:56:59 UTC (rev 80691)
+++ trunk/moon/desklet/panel/ChangeLog  2007-06-25 16:26:59 UTC (rev 80692)
@@ -0,0 +1,3 @@
+2007-06-25  Everaldo Canuto  <[EMAIL PROTECTED]>
+
+       * all files: Initial desklets panel import.

Added: trunk/moon/desklet/panel/Panel.cs
===================================================================
--- trunk/moon/desklet/panel/Panel.cs   2007-06-25 15:56:59 UTC (rev 80691)
+++ trunk/moon/desklet/panel/Panel.cs   2007-06-25 16:26:59 UTC (rev 80692)
@@ -0,0 +1,28 @@
+/*
+ * Panel.cs: Moonlight Desklets Panel.
+ *
+ * Author:
+ *   Everaldo Canuto ([EMAIL PROTECTED])
+ *
+ * Copyright 2007 Novell, Inc. (http://www.novell.com)
+ *
+ * See the LICENSE file included with the distribution for details.
+ * 
+ */
+
+using System;
+using Gtk;
+
+namespace DeskletsPanel
+{
+       class MainClass
+       {
+               public static void Main (string[] args)
+               {
+                       Application.Init ();
+                       PanelWindow win = new PanelWindow ();
+                       win.Show ();
+                       Application.Run ();
+               }
+       }
+}
\ No newline at end of file

Added: trunk/moon/desklet/panel/PanelWindow.cs
===================================================================
--- trunk/moon/desklet/panel/PanelWindow.cs     2007-06-25 15:56:59 UTC (rev 
80691)
+++ trunk/moon/desklet/panel/PanelWindow.cs     2007-06-25 16:26:59 UTC (rev 
80692)
@@ -0,0 +1,45 @@
+/*
+ * Panel.cs: Moonlight Desklets Panel, main application window.
+ *
+ * Author:
+ *   Everaldo Canuto ([EMAIL PROTECTED])
+ *
+ * Copyright 2007 Novell, Inc. (http://www.novell.com)
+ *
+ * See the LICENSE file included with the distribution for details.
+ * 
+ */
+
+using System;
+using Gtk;
+
+public partial class PanelWindow: Gtk.Window
+{      
+       public PanelWindow (): base (Gtk.WindowType.Toplevel)
+       {
+               Build ();
+       }
+       
+       protected void OnDeleteEvent (object sender, DeleteEventArgs a)
+       {
+               Application.Quit ();
+               a.RetVal = true;
+       }
+
+       protected virtual void OnCloseButtonClicked (object sender, 
System.EventArgs e)
+       {
+               // For now, just close app, when we haev trayicon we can just 
hide.
+               // Hide ();
+               Application.Quit ();
+       }
+
+       protected virtual void OnDeskletsButtonClicked (object sender, 
System.EventArgs e)
+       {
+               // Add here code to open a desklet page (on fucture).
+       }
+
+       protected virtual void OnHelpButtonClicked (object sender, 
System.EventArgs e)
+       {
+               // We will have some help?
+       }
+}
\ No newline at end of file

Added: trunk/moon/desklet/panel/app.desktop
===================================================================
--- trunk/moon/desklet/panel/app.desktop        2007-06-25 15:56:59 UTC (rev 
80691)
+++ trunk/moon/desklet/panel/app.desktop        2007-06-25 16:26:59 UTC (rev 
80692)
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=desklets-panel
+Exec=desklets-panel
+Terminal=false

Added: trunk/moon/desklet/panel/desklets-panel.mdp
===================================================================
--- trunk/moon/desklet/panel/desklets-panel.mdp 2007-06-25 15:56:59 UTC (rev 
80691)
+++ trunk/moon/desklet/panel/desklets-panel.mdp 2007-06-25 16:26:59 UTC (rev 
80692)
@@ -0,0 +1,35 @@
+<Project name="desklets-panel" fileversion="2.0" language="C#" 
clr-version="Net_1_1" ctype="DotNetProject">
+  <Configurations active="Debug">
+    <Configuration name="Debug" ctype="DotNetProjectConfiguration">
+      <Output directory="./" assembly="desklets-panel" />
+      <Build debugmode="True" target="Exe" />
+      <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" 
clr-version="Net_1_1" />
+      <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" 
unsafecodeallowed="False" generateoverflowchecks="True" 
generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+    </Configuration>
+    <Configuration name="Release" ctype="DotNetProjectConfiguration">
+      <Output directory="./" assembly="desklets-panel" />
+      <Build debugmode="False" target="Exe" />
+      <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" 
clr-version="Net_1_1" />
+      <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" 
unsafecodeallowed="False" generateoverflowchecks="True" 
generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+    </Configuration>
+  </Configurations>
+  <Contents>
+    <File name="./gtk-gui/gui.stetic" subtype="Code" 
buildaction="EmbedAsResource" />
+    <File name="./gtk-gui/generated.cs" subtype="Code" buildaction="Compile" />
+    <File name="./PanelWindow.cs" subtype="Code" buildaction="Compile" />
+    <File name="./Panel.cs" subtype="Code" buildaction="Compile" />
+    <File name="./AssemblyInfo.cs" subtype="Code" buildaction="Compile" />
+    <File name="./app.desktop" subtype="Code" buildaction="FileCopy" 
DeployService.TargetDirectoryId="Linux.DesktopApplications" />
+    <File name="./gtk-gui/PanelWindow.cs" subtype="Code" buildaction="Compile" 
/>
+  </Contents>
+  <References>
+    <ProjectReference type="Gac" localcopy="True" refto="System, 
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+    <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, 
Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, 
Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <ProjectReference type="Gac" localcopy="True" refto="glib-sharp, 
Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <ProjectReference type="Gac" localcopy="True" refto="glade-sharp, 
Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <ProjectReference type="Gac" localcopy="True" refto="pango-sharp, 
Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, 
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
+  </References>
+  <GtkDesignInfo partialTypes="True" />
+</Project>
\ No newline at end of file

Added: trunk/moon/desklet/panel/desklets-panel.mds
===================================================================
--- trunk/moon/desklet/panel/desklets-panel.mds 2007-06-25 15:56:59 UTC (rev 
80691)
+++ trunk/moon/desklet/panel/desklets-panel.mds 2007-06-25 16:26:59 UTC (rev 
80692)
@@ -0,0 +1,16 @@
+<Combine name="desklets-panel" fileversion="2.0">
+  <Configurations active="Debug">
+    <Configuration name="Debug" ctype="CombineConfiguration">
+      <Entry build="True" name="desklets-panel" configuration="Debug" />
+    </Configuration>
+    <Configuration name="Release" ctype="CombineConfiguration">
+      <Entry build="True" name="desklets-panel" configuration="Release" />
+    </Configuration>
+  </Configurations>
+  <StartMode startupentry="desklets-panel" single="True">
+    <Execute type="None" entry="desklets-panel" />
+  </StartMode>
+  <Entries>
+    <Entry filename="./desklets-panel.mdp" />
+  </Entries>
+</Combine>
\ No newline at end of file

Added: trunk/moon/desklet/panel/gtk-gui/PanelWindow.cs
===================================================================
--- trunk/moon/desklet/panel/gtk-gui/PanelWindow.cs     2007-06-25 15:56:59 UTC 
(rev 80691)
+++ trunk/moon/desklet/panel/gtk-gui/PanelWindow.cs     2007-06-25 16:26:59 UTC 
(rev 80692)
@@ -0,0 +1,188 @@
+// 
------------------------------------------------------------------------------
+//  <autogenerated>
+//      This code was generated by a tool.
+//      Mono Runtime Version: 2.0.50727.42
+// 
+//      Changes to this file may cause incorrect behavior and will be lost if 
+//      the code is regenerated.
+//  </autogenerated>
+// 
------------------------------------------------------------------------------
+
+
+
+public partial class PanelWindow {
+    
+    private Gtk.VBox vbox2;
+    
+    private Gtk.HBox hbox2;
+    
+    private Gtk.Label SearchLabel;
+    
+    private Gtk.ComboBoxEntry SearchEntry;
+    
+    private Gtk.ScrolledWindow DeskletsScrolledWindow;
+    
+    private Gtk.TreeView DeskletsView;
+    
+    private Gtk.Expander DetailsExpander;
+    
+    private Gtk.Label DetailsLabel;
+    
+    private Gtk.Label GtkLabel;
+    
+    private Gtk.HButtonBox ActionButtonBox;
+    
+    private Gtk.Button HelpButton;
+    
+    private Gtk.Button DeskletsButton;
+    
+    private Gtk.Button CloseButton;
+    
+    protected virtual void Build() {
+        Stetic.Gui.Initialize();
+        // Widget PanelWindow
+        this.Name = "PanelWindow";
+        this.Title = Mono.Unix.Catalog.GetString("Moonlight Desklets Panel");
+        this.WindowPosition = ((Gtk.WindowPosition)(1));
+        // Container child PanelWindow.Gtk.Container+ContainerChild
+        this.vbox2 = new Gtk.VBox();
+        this.vbox2.Name = "vbox2";
+        this.vbox2.Spacing = 6;
+        this.vbox2.BorderWidth = ((uint)(6));
+        // Container child vbox2.Gtk.Box+BoxChild
+        this.hbox2 = new Gtk.HBox();
+        this.hbox2.Name = "hbox2";
+        this.hbox2.Spacing = 6;
+        // Container child hbox2.Gtk.Box+BoxChild
+        this.SearchLabel = new Gtk.Label();
+        this.SearchLabel.Name = "SearchLabel";
+        this.SearchLabel.LabelProp = Mono.Unix.Catalog.GetString("Search:");
+        this.hbox2.Add(this.SearchLabel);
+        Gtk.Box.BoxChild w1 = 
((Gtk.Box.BoxChild)(this.hbox2[this.SearchLabel]));
+        w1.Position = 0;
+        w1.Expand = false;
+        w1.Fill = false;
+        // Container child hbox2.Gtk.Box+BoxChild
+        this.SearchEntry = new Gtk.ComboBoxEntry();
+        this.SearchEntry.Name = "SearchEntry";
+        this.hbox2.Add(this.SearchEntry);
+        Gtk.Box.BoxChild w2 = 
((Gtk.Box.BoxChild)(this.hbox2[this.SearchEntry]));
+        w2.Position = 1;
+        w2.Expand = false;
+        w2.Fill = false;
+        this.vbox2.Add(this.hbox2);
+        Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
+        w3.Position = 0;
+        w3.Expand = false;
+        w3.Fill = false;
+        // Container child vbox2.Gtk.Box+BoxChild
+        this.DeskletsScrolledWindow = new Gtk.ScrolledWindow();
+        this.DeskletsScrolledWindow.CanFocus = true;
+        this.DeskletsScrolledWindow.Name = "DeskletsScrolledWindow";
+        this.DeskletsScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1));
+        this.DeskletsScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1));
+        this.DeskletsScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
+        // Container child DeskletsScrolledWindow.Gtk.Container+ContainerChild
+        this.DeskletsView = new Gtk.TreeView();
+        this.DeskletsView.CanFocus = true;
+        this.DeskletsView.Name = "DeskletsView";
+        this.DeskletsScrolledWindow.Add(this.DeskletsView);
+        this.vbox2.Add(this.DeskletsScrolledWindow);
+        Gtk.Box.BoxChild w5 = 
((Gtk.Box.BoxChild)(this.vbox2[this.DeskletsScrolledWindow]));
+        w5.Position = 1;
+        // Container child vbox2.Gtk.Box+BoxChild
+        this.DetailsExpander = new Gtk.Expander(null);
+        this.DetailsExpander.CanFocus = true;
+        this.DetailsExpander.Name = "DetailsExpander";
+        // Container child DetailsExpander.Gtk.Container+ContainerChild
+        this.DetailsLabel = new Gtk.Label();
+        this.DetailsLabel.Name = "DetailsLabel";
+        this.DetailsLabel.LabelProp = "";
+        this.DetailsExpander.Add(this.DetailsLabel);
+        this.GtkLabel = new Gtk.Label();
+        this.GtkLabel.Name = "GtkLabel";
+        this.GtkLabel.LabelProp = Mono.Unix.Catalog.GetString("Show details");
+        this.GtkLabel.UseUnderline = true;
+        this.DetailsExpander.LabelWidget = this.GtkLabel;
+        this.vbox2.Add(this.DetailsExpander);
+        Gtk.Box.BoxChild w7 = 
((Gtk.Box.BoxChild)(this.vbox2[this.DetailsExpander]));
+        w7.Position = 2;
+        w7.Expand = false;
+        w7.Fill = false;
+        // Container child vbox2.Gtk.Box+BoxChild
+        this.ActionButtonBox = new Gtk.HButtonBox();
+        this.ActionButtonBox.Name = "ActionButtonBox";
+        this.ActionButtonBox.Spacing = 6;
+        this.ActionButtonBox.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
+        // Container child ActionButtonBox.Gtk.ButtonBox+ButtonBoxChild
+        this.HelpButton = new Gtk.Button();
+        this.HelpButton.CanFocus = true;
+        this.HelpButton.Name = "HelpButton";
+        this.HelpButton.UseStock = true;
+        this.HelpButton.UseUnderline = true;
+        this.HelpButton.Label = "gtk-help";
+        this.ActionButtonBox.Add(this.HelpButton);
+        Gtk.ButtonBox.ButtonBoxChild w8 = 
((Gtk.ButtonBox.ButtonBoxChild)(this.ActionButtonBox[this.HelpButton]));
+        w8.Secondary = true;
+        w8.Expand = false;
+        w8.Fill = false;
+        // Container child ActionButtonBox.Gtk.ButtonBox+ButtonBoxChild
+        this.DeskletsButton = new Gtk.Button();
+        this.DeskletsButton.CanFocus = true;
+        this.DeskletsButton.Name = "DeskletsButton";
+        this.DeskletsButton.UseUnderline = true;
+        // Container child DeskletsButton.Gtk.Container+ContainerChild
+        Gtk.Alignment w9 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
+        w9.Name = "GtkAlignment1";
+        // Container child GtkAlignment1.Gtk.Container+ContainerChild
+        Gtk.HBox w10 = new Gtk.HBox();
+        w10.Name = "GtkHBox2";
+        w10.Spacing = 2;
+        // Container child GtkHBox2.Gtk.Container+ContainerChild
+        Gtk.Image w11 = new Gtk.Image();
+        w11.Name = "image23";
+        w11.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-find", 16);
+        w10.Add(w11);
+        // Container child GtkHBox2.Gtk.Container+ContainerChild
+        Gtk.Label w13 = new Gtk.Label();
+        w13.Name = "GtkLabel2";
+        w13.LabelProp = Mono.Unix.Catalog.GetString("Get desklets");
+        w13.UseUnderline = true;
+        w10.Add(w13);
+        w9.Add(w10);
+        this.DeskletsButton.Add(w9);
+        this.ActionButtonBox.Add(this.DeskletsButton);
+        Gtk.ButtonBox.ButtonBoxChild w17 = 
((Gtk.ButtonBox.ButtonBoxChild)(this.ActionButtonBox[this.DeskletsButton]));
+        w17.Position = 1;
+        w17.Expand = false;
+        w17.Fill = false;
+        // Container child ActionButtonBox.Gtk.ButtonBox+ButtonBoxChild
+        this.CloseButton = new Gtk.Button();
+        this.CloseButton.CanFocus = true;
+        this.CloseButton.Name = "CloseButton";
+        this.CloseButton.UseStock = true;
+        this.CloseButton.UseUnderline = true;
+        this.CloseButton.Label = "gtk-close";
+        this.ActionButtonBox.Add(this.CloseButton);
+        Gtk.ButtonBox.ButtonBoxChild w18 = 
((Gtk.ButtonBox.ButtonBoxChild)(this.ActionButtonBox[this.CloseButton]));
+        w18.Position = 2;
+        w18.Expand = false;
+        w18.Fill = false;
+        this.vbox2.Add(this.ActionButtonBox);
+        Gtk.Box.BoxChild w19 = 
((Gtk.Box.BoxChild)(this.vbox2[this.ActionButtonBox]));
+        w19.Position = 3;
+        w19.Expand = false;
+        w19.Fill = false;
+        this.Add(this.vbox2);
+        if ((this.Child != null)) {
+            this.Child.ShowAll();
+        }
+        this.DefaultWidth = 447;
+        this.DefaultHeight = 446;
+        this.Show();
+        this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
+        this.HelpButton.Clicked += new 
System.EventHandler(this.OnHelpButtonClicked);
+        this.DeskletsButton.Clicked += new 
System.EventHandler(this.OnDeskletsButtonClicked);
+        this.CloseButton.Clicked += new 
System.EventHandler(this.OnCloseButtonClicked);
+    }
+}

Added: trunk/moon/desklet/panel/gtk-gui/generated.cs
===================================================================
--- trunk/moon/desklet/panel/gtk-gui/generated.cs       2007-06-25 15:56:59 UTC 
(rev 80691)
+++ trunk/moon/desklet/panel/gtk-gui/generated.cs       2007-06-25 16:26:59 UTC 
(rev 80692)
@@ -0,0 +1,62 @@
+// 
------------------------------------------------------------------------------
+//  <autogenerated>
+//      This code was generated by a tool.
+//      Mono Runtime Version: 2.0.50727.42
+// 
+//      Changes to this file may cause incorrect behavior and will be lost if 
+//      the code is regenerated.
+//  </autogenerated>
+// 
------------------------------------------------------------------------------
+
+namespace Stetic {
+    
+    
+    internal class Gui {
+        
+        private static bool initialized;
+        
+        internal static void Initialize() {
+            if ((Stetic.Gui.initialized == false)) {
+                Stetic.Gui.initialized = true;
+            }
+        }
+    }
+    
+    internal class IconLoader {
+        
+        public static Gdk.Pixbuf LoadIcon(string name, int sz) {
+            try {
+                return Gtk.IconTheme.Default.LoadIcon(name, sz, 0);
+            }
+            catch (System.Exception ) {
+                if ((name != "gtk-missing-image")) {
+                    return Stetic.IconLoader.LoadIcon("gtk-missing-image", sz);
+                }
+                else {
+                    Gdk.Pixmap pmap = new 
Gdk.Pixmap(Gdk.Screen.Default.RootWindow, sz, sz);
+                    Gdk.GC gc = new Gdk.GC(pmap);
+                    gc.RgbFgColor = new Gdk.Color(255, 255, 255);
+                    pmap.DrawRectangle(gc, true, 0, 0, sz, sz);
+                    gc.RgbFgColor = new Gdk.Color(0, 0, 0);
+                    pmap.DrawRectangle(gc, false, 0, 0, (sz - 1), (sz - 1));
+                    gc.SetLineAttributes(3, Gdk.LineStyle.Solid, 
Gdk.CapStyle.Round, Gdk.JoinStyle.Round);
+                    gc.RgbFgColor = new Gdk.Color(255, 0, 0);
+                    pmap.DrawLine(gc, (sz / 4), (sz / 4), ((sz - 1) - (sz / 
4)), ((sz - 1) - (sz / 4)));
+                    pmap.DrawLine(gc, ((sz - 1) - (sz / 4)), (sz / 4), (sz / 
4), ((sz - 1) - (sz / 4)));
+                    return Gdk.Pixbuf.FromDrawable(pmap, pmap.Colormap, 0, 0, 
0, 0, sz, sz);
+                }
+            }
+        }
+    }
+    
+    internal class ActionGroups {
+        
+        public static Gtk.ActionGroup GetActionGroup(System.Type type) {
+            return Stetic.ActionGroups.GetActionGroup(type.FullName);
+        }
+        
+        public static Gtk.ActionGroup GetActionGroup(string name) {
+            return null;
+        }
+    }
+}

Added: trunk/moon/desklet/panel/gtk-gui/gui.stetic
===================================================================
--- trunk/moon/desklet/panel/gtk-gui/gui.stetic 2007-06-25 15:56:59 UTC (rev 
80691)
+++ trunk/moon/desklet/panel/gtk-gui/gui.stetic 2007-06-25 16:26:59 UTC (rev 
80692)
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="utf-8"?>
+<stetic-interface>
+  <configuration>
+    <images-root-path>../</images-root-path>
+  </configuration>
+  <widget class="Gtk.Window" id="PanelWindow" design-size="447 446">
+    <property name="MemberName" />
+    <property name="Title" translatable="yes">Moonlight Desklets 
Panel</property>
+    <property name="WindowPosition">Center</property>
+    <signal name="DeleteEvent" handler="OnDeleteEvent" />
+    <child>
+      <widget class="Gtk.VBox" id="vbox2">
+        <property name="MemberName" />
+        <property name="Spacing">6</property>
+        <property name="BorderWidth">6</property>
+        <child>
+          <widget class="Gtk.HBox" id="hbox2">
+            <property name="MemberName" />
+            <property name="Spacing">6</property>
+            <child>
+              <widget class="Gtk.Label" id="SearchLabel">
+                <property name="MemberName" />
+                <property name="LabelProp" 
translatable="yes">Search:</property>
+              </widget>
+              <packing>
+                <property name="Position">0</property>
+                <property name="AutoSize">True</property>
+                <property name="Expand">False</property>
+                <property name="Fill">False</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="Gtk.ComboBoxEntry" id="SearchEntry">
+                <property name="MemberName" />
+                <property name="IsTextCombo">False</property>
+                <property name="Items" translatable="yes" />
+              </widget>
+              <packing>
+                <property name="Position">1</property>
+                <property name="AutoSize">True</property>
+                <property name="Expand">False</property>
+                <property name="Fill">False</property>
+              </packing>
+            </child>
+            <child>
+              <placeholder />
+            </child>
+          </widget>
+          <packing>
+            <property name="Position">0</property>
+            <property name="AutoSize">True</property>
+            <property name="Expand">False</property>
+            <property name="Fill">False</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="Gtk.ScrolledWindow" id="DeskletsScrolledWindow">
+            <property name="MemberName" />
+            <property name="CanFocus">True</property>
+            <property name="VscrollbarPolicy">Automatic</property>
+            <property name="HscrollbarPolicy">Automatic</property>
+            <property name="ShadowType">In</property>
+            <child>
+              <widget class="Gtk.TreeView" id="DeskletsView">
+                <property name="MemberName" />
+                <property name="CanFocus">True</property>
+                <property name="HeadersClickable">True</property>
+              </widget>
+            </child>
+          </widget>
+          <packing>
+            <property name="Position">1</property>
+            <property name="AutoSize">True</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="Gtk.Expander" id="DetailsExpander">
+            <property name="MemberName" />
+            <property name="CanFocus">True</property>
+            <child>
+              <widget class="Gtk.Label" id="DetailsLabel">
+                <property name="MemberName" />
+                <property name="LabelProp" translatable="yes" />
+              </widget>
+            </child>
+            <child>
+              <widget class="Gtk.Label" id="GtkLabel">
+                <property name="MemberName" />
+                <property name="LabelProp" translatable="yes">Show 
details</property>
+                <property name="UseUnderline">True</property>
+              </widget>
+              <packing>
+                <property name="type">label_item</property>
+              </packing>
+            </child>
+          </widget>
+          <packing>
+            <property name="Position">2</property>
+            <property name="AutoSize">True</property>
+            <property name="Expand">False</property>
+            <property name="Fill">False</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="Gtk.HButtonBox" id="ActionButtonBox">
+            <property name="MemberName" />
+            <property name="Spacing">6</property>
+            <property name="Size">3</property>
+            <property name="LayoutStyle">End</property>
+            <child>
+              <widget class="Gtk.Button" id="HelpButton">
+                <property name="MemberName" />
+                <property name="CanFocus">True</property>
+                <property name="UseStock">True</property>
+                <property name="Type">StockItem</property>
+                <property name="StockId">gtk-help</property>
+                <property name="IsDialogButton">False</property>
+                <signal name="Clicked" handler="OnHelpButtonClicked" />
+                <property name="label">gtk-help</property>
+              </widget>
+              <packing>
+                <property name="Secondary">True</property>
+                <property name="Expand">False</property>
+                <property name="Fill">False</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="Gtk.Button" id="DeskletsButton">
+                <property name="MemberName" />
+                <property name="CanFocus">True</property>
+                <property name="Type">TextAndIcon</property>
+                <property name="Icon">stock:gtk-find Menu</property>
+                <property name="Label" translatable="yes">Get 
desklets</property>
+                <property name="UseUnderline">True</property>
+                <property name="IsDialogButton">False</property>
+                <signal name="Clicked" handler="OnDeskletsButtonClicked" />
+              </widget>
+              <packing>
+                <property name="Position">1</property>
+                <property name="Expand">False</property>
+                <property name="Fill">False</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="Gtk.Button" id="CloseButton">
+                <property name="MemberName" />
+                <property name="CanFocus">True</property>
+                <property name="UseStock">True</property>
+                <property name="Type">StockItem</property>
+                <property name="StockId">gtk-close</property>
+                <property name="IsDialogButton">False</property>
+                <signal name="Clicked" handler="OnCloseButtonClicked" />
+                <property name="label">gtk-close</property>
+              </widget>
+              <packing>
+                <property name="Position">2</property>
+                <property name="Expand">False</property>
+                <property name="Fill">False</property>
+              </packing>
+            </child>
+          </widget>
+          <packing>
+            <property name="Position">3</property>
+            <property name="AutoSize">True</property>
+            <property name="Expand">False</property>
+            <property name="Fill">False</property>
+          </packing>
+        </child>
+      </widget>
+    </child>
+  </widget>
+</stetic-interface>
\ No newline at end of file

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to