|
From: <dg...@us...> - 2011-11-04 18:50:52
|
Revision: 919
http://pytrainer.svn.sourceforge.net/pytrainer/?rev=919&view=rev
Author: dgranda
Date: 2011-11-04 18:50:42 +0000 (Fri, 04 Nov 2011)
Log Message:
-----------
Graying out pace, elevation and heartbeat data frames when editing an activity with GPX file associated
Modified Paths:
--------------
pytrainer/trunk/glade/newrecord.glade
pytrainer/trunk/pytrainer/gui/windowrecord.py
Modified: pytrainer/trunk/glade/newrecord.glade
===================================================================
--- pytrainer/trunk/glade/newrecord.glade 2011-11-04 18:47:39 UTC (rev 918)
+++ pytrainer/trunk/glade/newrecord.glade 2011-11-04 18:50:42 UTC (rev 919)
@@ -620,7 +620,7 @@
<widget class="GtkVBox" id="vbox26">
<property name="visible">True</property>
<child>
- <widget class="GtkFrame" id="frame20">
+ <widget class="GtkFrame" id="framePace">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="label_xalign">0</property>
@@ -651,7 +651,6 @@
<child>
<widget class="GtkEntry" id="rcd_maxpace">
<property name="visible">True</property>
- <property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
<property name="width_chars">7</property>
@@ -680,7 +679,6 @@
<child>
<widget class="GtkEntry" id="rcd_pace">
<property name="visible">True</property>
- <property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
<property name="width_chars">7</property>
@@ -730,7 +728,7 @@
</packing>
</child>
<child>
- <widget class="GtkFrame" id="frame21">
+ <widget class="GtkFrame" id="frameElevation">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="label_xalign">0</property>
@@ -825,7 +823,7 @@
</packing>
</child>
<child>
- <widget class="GtkFrame" id="frame22">
+ <widget class="GtkFrame" id="frameBeats">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="label_xalign">0</property>
Modified: pytrainer/trunk/pytrainer/gui/windowrecord.py
===================================================================
--- pytrainer/trunk/pytrainer/gui/windowrecord.py 2011-11-04 18:47:39 UTC (rev 918)
+++ pytrainer/trunk/pytrainer/gui/windowrecord.py 2011-11-04 18:50:42 UTC (rev 919)
@@ -384,6 +384,9 @@
self.rcd_gpxfile.set_text(activity.gpx_file)
self.frameGeneral.set_sensitive(0) #Currently record values not changed if a GPX file is present
self.frameVelocity.set_sensitive(0) #Greying out options to indicate this to user
+ self.framePace.set_sensitive(0)
+ self.frameElevation.set_sensitive(0)
+ self.frameBeats.set_sensitive(0)
logging.debug("<<")
def setValues(self,values):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|