[Pycodeocr-main] SF.net SVN: pycodeocr:[47] trunk
Status: Beta
Brought to you by:
drtrigon
|
From: <drt...@us...> - 2011-04-27 14:58:51
|
Revision: 47
http://pycodeocr.svn.sourceforge.net/pycodeocr/?rev=47&view=rev
Author: drtrigon
Date: 2011-04-27 14:58:45 +0000 (Wed, 27 Apr 2011)
Log Message:
-----------
followup to r24 and r43: default action/button does work now
Modified Paths:
--------------
trunk/PyCodeOCR.glade
trunk/PyCodeOCR.py
Added Paths:
-----------
README
Added: README
===================================================================
--- README (rev 0)
+++ README 2011-04-27 14:58:45 UTC (rev 47)
@@ -0,0 +1,17 @@
+The 'trunk' is the main line of development in a SVN repository.
+
+A 'branch' is a side-line of development created to make larger, experimental or
+disrupting work without annoying users of the trunk version. Also, branches can
+be used to create development lines for multiple versions of the same product,
+like having a place to backport bugfixes into a stable release.
+
+Finally, 'tags' are markers to highlight notable revisions in the history of the
+repository, usually things like "this was released as 1.0".
+
+See the HTML version of "Version Control with Subversion", especially Chapter 4:
+Branching and Merging or buy it in paper (e.g. from amazon) for an in-depth
+discussion of the technical details.
+http://svnbook.red-bean.com/
+http://svnbook.red-bean.com/en/1.5/svn.branchmerge.html
+
+http://stackoverflow.com/questions/698313/what-is-trunk-branch-and-tag-in-subversion
Modified: trunk/PyCodeOCR.glade
===================================================================
--- trunk/PyCodeOCR.glade 2011-04-27 14:31:11 UTC (rev 46)
+++ trunk/PyCodeOCR.glade 2011-04-27 14:58:45 UTC (rev 47)
@@ -351,6 +351,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="enable_grid_lines">horizontal</property>
+ <signal name="row_activated" handler="on_treeview1_row_activated"/>
</widget>
<packing>
<property name="x">15</property>
Modified: trunk/PyCodeOCR.py
===================================================================
--- trunk/PyCodeOCR.py 2011-04-27 14:31:11 UTC (rev 46)
+++ trunk/PyCodeOCR.py 2011-04-27 14:58:45 UTC (rev 47)
@@ -14,6 +14,8 @@
# @mainpage PyCodeOCR
# @anchor mainpage
#
+# http://pycodeocr.sourceforge.net/
+#
# @section Description
#
# Turn your scanner into a free document
@@ -316,6 +318,10 @@
self.run_sane.init_scanner(self.progress, self.window2, self.treeview1, devnr)
# set sensitivity
self.init_sensitivity()
+
+ # http://www.pygtk.org/pygtk2tutorial/sec-TreeViewSignals.html
+ def on_treeview1_row_activated(self, *args, **kwargs):
+ self.on_button3_clicked()
## set sensitivity of buttons the first time
def init_sensitivity(self):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|