[longomatch] Add tooltips to the capturer widget



commit c82b8bc4163ca5d1dc7c1e7c704da5a2942647bb
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Apr 5 17:10:16 2010 +0200

    Add tooltips to the capturer widget

 CesarPlayer/gtk-gui/LongoMatch.Gui.CapturerBin.cs |    3 +++
 CesarPlayer/gtk-gui/gui.stetic                    |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/CesarPlayer/gtk-gui/LongoMatch.Gui.CapturerBin.cs b/CesarPlayer/gtk-gui/LongoMatch.Gui.CapturerBin.cs
index ffc5372..a043a1f 100644
--- a/CesarPlayer/gtk-gui/LongoMatch.Gui.CapturerBin.cs
+++ b/CesarPlayer/gtk-gui/LongoMatch.Gui.CapturerBin.cs
@@ -63,6 +63,7 @@ namespace LongoMatch.Gui {
             this.buttonsbox.Spacing = 6;
             // Container child buttonsbox.Gtk.Box+BoxChild
             this.recbutton = new Gtk.Button();
+            this.recbutton.TooltipMarkup = "Start or continue capture";
             this.recbutton.CanFocus = true;
             this.recbutton.Name = "recbutton";
             this.recbutton.UseUnderline = true;
@@ -87,6 +88,7 @@ namespace LongoMatch.Gui {
             w11.Fill = false;
             // Container child buttonsbox.Gtk.Box+BoxChild
             this.pausebutton = new Gtk.Button();
+            this.pausebutton.TooltipMarkup = "Pause capture";
             this.pausebutton.CanFocus = true;
             this.pausebutton.Name = "pausebutton";
             this.pausebutton.UseUnderline = true;
@@ -111,6 +113,7 @@ namespace LongoMatch.Gui {
             w20.Fill = false;
             // Container child buttonsbox.Gtk.Box+BoxChild
             this.stopbutton = new Gtk.Button();
+            this.stopbutton.TooltipMarkup = "Stop and close capture";
             this.stopbutton.CanFocus = true;
             this.stopbutton.Name = "stopbutton";
             this.stopbutton.UseUnderline = true;
diff --git a/CesarPlayer/gtk-gui/gui.stetic b/CesarPlayer/gtk-gui/gui.stetic
index b828c04..f020f65 100644
--- a/CesarPlayer/gtk-gui/gui.stetic
+++ b/CesarPlayer/gtk-gui/gui.stetic
@@ -373,6 +373,7 @@
                 <child>
                   <widget class="Gtk.Button" id="recbutton">
                     <property name="MemberName" />
+                    <property name="Tooltip" translatable="yes">Start or continue capture</property>
                     <property name="CanFocus">True</property>
                     <property name="Type">TextAndIcon</property>
                     <property name="Icon">stock:gtk-media-record Dialog</property>
@@ -391,6 +392,7 @@
                   <widget class="Gtk.Button" id="pausebutton">
                     <property name="MemberName" />
                     <property name="Visible">False</property>
+                    <property name="Tooltip" translatable="yes">Pause capture</property>
                     <property name="CanFocus">True</property>
                     <property name="Type">TextAndIcon</property>
                     <property name="Icon">stock:gtk-media-pause Dialog</property>
@@ -409,6 +411,7 @@
                   <widget class="Gtk.Button" id="stopbutton">
                     <property name="MemberName" />
                     <property name="Visible">False</property>
+                    <property name="Tooltip" translatable="yes">Stop and close capture</property>
                     <property name="CanFocus">True</property>
                     <property name="Type">TextAndIcon</property>
                     <property name="Icon">stock:gtk-media-stop Dialog</property>



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