[longomatch] Add tooltips for the dashboard toolbar buttons
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add tooltips for the dashboard toolbar buttons
- Date: Tue, 28 Oct 2014 09:55:12 +0000 (UTC)
commit 84409eacfa00a1a899e8529c7403b5a503e1833e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Oct 24 19:55:30 2014 +0200
Add tooltips for the dashboard toolbar buttons
LongoMatch.GUI/Gui/Component/DashboardWidget.cs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/DashboardWidget.cs b/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
index 3fb33e6..e1e8b50 100644
--- a/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
@@ -262,6 +262,7 @@ namespace LongoMatch.Gui.Component
editbutton.IconWidget = editimage;
editbutton.Active = true;
editbutton.Toggled += HandleEditToggled;
+ editbutton.TooltipText = Catalog.GetString ("Edit dashboard");
toolbar.Add (editbutton);
toolbar.Add (new SeparatorToolItem ());
@@ -270,20 +271,24 @@ namespace LongoMatch.Gui.Component
("longomatch-popup", 22));
popupbutton.Active = true;
popupbutton.Toggled += HandlePopupToggled;
+ popupbutton.TooltipText = Catalog.GetString ("Disable popup window");
toolbar.Add (popupbutton);
toolbar.Add (new SeparatorToolItem ());
fitbutton = new RadioToolButton ((GLib.SList) null);
fitbutton.IconName = "longomatch-dash-fit";
fitbutton.Toggled += HandleFitModeToggled;
+ fitbutton.TooltipText = Catalog.GetString ("Fit dashboard");
toolbar.Add (fitbutton);
fillbutton = new RadioToolButton (fitbutton);
fillbutton.IconName = "longomatch-dash-fill";
fillbutton.Toggled += HandleFitModeToggled;
+ fillbutton.TooltipText = Catalog.GetString ("Fill dashboard");
toolbar.Add (fillbutton);
d11button = new RadioToolButton (fitbutton);
d11button.IconName = "longomatch-dash-11";
d11button.Toggled += HandleFitModeToggled;
+ d11button.TooltipText = Catalog.GetString ("1:1 dashboard");
toolbar.Add (d11button);
toolbar.ShowAll ();
hbox2.PackEnd (toolbar, false, false, 0);
@@ -374,7 +379,7 @@ namespace LongoMatch.Gui.Component
void HandleShowMenuEvent (DashboardButton taggerbutton, Tag tag)
{
Menu menu;
- MenuItem delbut, deltag;
+ MenuItem delbut;
if (Mode != TagMode.Edit) {
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]