From 13b8ad41a6652c4b7ef8d65d09a16cc4822bfbb4 Mon Sep 17 00:00:00 2001
From: James Cameron <quozl@laptop.org>
Date: Tue, 27 Jul 2010 10:42:05 +1000
Subject: [PATCH] add missing tooltip for sensors sample recording interval #2121
There was a tooltip for the sampling interval for the Sound tab, but
not for the Sensors tab. This patch copies it across as it currently
stands.
---
sensor_toolbar.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sensor_toolbar.py b/sensor_toolbar.py
index dd92c5c..b799d00 100644
a
|
b
|
class SensorToolbar(gtk.Toolbar): |
96 | 96 | self.interval = [_('1/10 second'), _('1 second'), _('30 seconds'), |
97 | 97 | _('5 minutes'), _('30 minutes')] |
98 | 98 | |
| 99 | if hasattr(self._loginterval_combo, 'set_tooltip_text'): |
| 100 | self._loginterval_combo.set_tooltip_text(_('Sampling interval')) |
| 101 | |
99 | 102 | self._interval_changed_id = self._loginterval_combo.connect("changed", |
100 | 103 | self.loginterval_control) |
101 | 104 | |