[longomatch] Add tooltops to the project template widget



commit e71168f4e79a0475caf33e47be281a76590b4b97
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Apr 5 20:43:43 2010 +0200

    Add tooltops to the project template widget

 ...ngoMatch.Gui.Component.ProjectTemplateWidget.cs |    5 +++++
 .../LongoMatch.Gui.Dialog.EditCategoryDialog.cs    |    2 +-
 ...Match.Gui.Dialog.FramesCaptureProgressDialog.cs |    2 +-
 LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs    |    2 +-
 LongoMatch/gtk-gui/gui.stetic                      |    9 +++++++--
 5 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Component.ProjectTemplateWidget.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Component.ProjectTemplateWidget.cs
index b749214..c12ea69 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Component.ProjectTemplateWidget.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Component.ProjectTemplateWidget.cs
@@ -61,6 +61,7 @@ namespace LongoMatch.Gui.Component {
             this.vbox2.Spacing = 6;
             // Container child vbox2.Gtk.Box+BoxChild
             this.newprevbutton = new Gtk.Button();
+            this.newprevbutton.TooltipMarkup = "Insert a new category before the selected one";
             this.newprevbutton.Sensitive = false;
             this.newprevbutton.CanFocus = true;
             this.newprevbutton.Name = "newprevbutton";
@@ -88,6 +89,7 @@ namespace LongoMatch.Gui.Component {
             w11.Fill = false;
             // Container child vbox2.Gtk.Box+BoxChild
             this.newafterbutton = new Gtk.Button();
+            this.newafterbutton.TooltipMarkup = "Insert a new category after the selected one";
             this.newafterbutton.Sensitive = false;
             this.newafterbutton.CanFocus = true;
             this.newafterbutton.Name = "newafterbutton";
@@ -115,6 +117,7 @@ namespace LongoMatch.Gui.Component {
             w20.Fill = false;
             // Container child vbox2.Gtk.Box+BoxChild
             this.removebutton = new Gtk.Button();
+            this.removebutton.TooltipMarkup = "Remove the selected category";
             this.removebutton.Sensitive = false;
             this.removebutton.CanFocus = true;
             this.removebutton.Name = "removebutton";
@@ -142,6 +145,7 @@ namespace LongoMatch.Gui.Component {
             w29.Fill = false;
             // Container child vbox2.Gtk.Box+BoxChild
             this.editbutton = new Gtk.Button();
+            this.editbutton.TooltipMarkup = "Edit the selected category";
             this.editbutton.Sensitive = false;
             this.editbutton.CanFocus = true;
             this.editbutton.Name = "editbutton";
@@ -177,6 +181,7 @@ namespace LongoMatch.Gui.Component {
             w39.Fill = false;
             // Container child vbox2.Gtk.Box+BoxChild
             this.exportbutton = new Gtk.Button();
+            this.exportbutton.TooltipMarkup = "Export the template to a file";
             this.exportbutton.CanFocus = true;
             this.exportbutton.Name = "exportbutton";
             this.exportbutton.UseUnderline = true;
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs
index 3d59b92..b38e256 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs
@@ -59,7 +59,7 @@ namespace LongoMatch.Gui.Dialog {
                 this.Child.ShowAll();
             }
             this.DefaultWidth = 264;
-            this.DefaultHeight = 153;
+            this.DefaultHeight = 186;
             this.Show();
         }
     }
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.FramesCaptureProgressDialog.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.FramesCaptureProgressDialog.cs
index 3dde81b..b424f9f 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.FramesCaptureProgressDialog.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.FramesCaptureProgressDialog.cs
@@ -97,7 +97,7 @@ namespace LongoMatch.Gui.Dialog {
                 this.Child.ShowAll();
             }
             this.DefaultWidth = 400;
-            this.DefaultHeight = 130;
+            this.DefaultHeight = 148;
             this.okbutton.Hide();
             this.Show();
             this.cancelbutton.Clicked += new System.EventHandler(this.OnButtonCancelClicked);
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
index 6d24a6c..ac24646 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
@@ -193,7 +193,7 @@ namespace LongoMatch.Gui {
             this.ImportProjectAction.ShortLabel = Mono.Unix.Catalog.GetString("_Import Project");
             w1.Add(this.ImportProjectAction, "<Control>i");
             this.FreeCaptureModeAction = new Gtk.RadioAction("FreeCaptureModeAction", Mono.Unix.Catalog.GetString("Free Capture Mode"), null, null, 0);
-            this.FreeCaptureModeAction.Group = this.AnalyzeModeAction.Group;
+            this.FreeCaptureModeAction.Group = this.CaptureModeAction.Group;
             this.FreeCaptureModeAction.Sensitive = false;
             this.FreeCaptureModeAction.ShortLabel = Mono.Unix.Catalog.GetString("Free Capture Mode");
             w1.Add(this.FreeCaptureModeAction, null);
diff --git a/LongoMatch/gtk-gui/gui.stetic b/LongoMatch/gtk-gui/gui.stetic
index b6535a5..5c5f7c0 100644
--- a/LongoMatch/gtk-gui/gui.stetic
+++ b/LongoMatch/gtk-gui/gui.stetic
@@ -1416,6 +1416,7 @@
               <widget class="Gtk.Button" id="newprevbutton">
                 <property name="MemberName" />
                 <property name="Sensitive">False</property>
+                <property name="Tooltip" translatable="yes">Insert a new category before the selected one</property>
                 <property name="CanFocus">True</property>
                 <property name="Type">TextAndIcon</property>
                 <property name="Icon">stock:gtk-goto-top Menu</property>
@@ -1434,6 +1435,7 @@
               <widget class="Gtk.Button" id="newafterbutton">
                 <property name="MemberName" />
                 <property name="Sensitive">False</property>
+                <property name="Tooltip" translatable="yes">Insert a new category after the selected one</property>
                 <property name="CanFocus">True</property>
                 <property name="Type">TextAndIcon</property>
                 <property name="Icon">stock:gtk-goto-bottom Menu</property>
@@ -1453,6 +1455,7 @@
               <widget class="Gtk.Button" id="removebutton">
                 <property name="MemberName" />
                 <property name="Sensitive">False</property>
+                <property name="Tooltip" translatable="yes">Remove the selected category</property>
                 <property name="CanFocus">True</property>
                 <property name="Type">TextAndIcon</property>
                 <property name="Icon">stock:gtk-remove Menu</property>
@@ -1471,6 +1474,7 @@
               <widget class="Gtk.Button" id="editbutton">
                 <property name="MemberName" />
                 <property name="Sensitive">False</property>
+                <property name="Tooltip" translatable="yes">Edit the selected category</property>
                 <property name="CanFocus">True</property>
                 <property name="Type">TextAndIcon</property>
                 <property name="Icon">stock:gtk-edit Menu</property>
@@ -1501,6 +1505,7 @@
               <widget class="Gtk.Button" id="exportbutton">
                 <property name="MemberName" />
                 <property name="Visible">False</property>
+                <property name="Tooltip" translatable="yes">Export the template to a file</property>
                 <property name="CanFocus">True</property>
                 <property name="Type">TextAndIcon</property>
                 <property name="Icon">stock:gtk-save-as Menu</property>
@@ -3243,7 +3248,7 @@ Full HD 1080p (16:9 - 1920x1080)</property>
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.FramesCaptureProgressDialog" design-size="400 130">
+  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.FramesCaptureProgressDialog" design-size="400 148">
     <property name="MemberName" />
     <property name="Title" translatable="yes">Capture Progress</property>
     <property name="Icon">stock:longomatch Dialog</property>
@@ -4811,7 +4816,7 @@ Show-&gt;&lt;b&gt; S&lt;/b&gt;
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.EditCategoryDialog" design-size="264 153">
+  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.EditCategoryDialog" design-size="264 186">
     <property name="MemberName" />
     <property name="Title" translatable="yes">Category Details</property>
     <property name="Icon">resource:longomatch.png</property>



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