[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r8284 - in grc/trunk/src: grc grc_gnuradio
From: |
jblum |
Subject: |
[Commit-gnuradio] r8284 - in grc/trunk/src: grc grc_gnuradio |
Date: |
Sat, 26 Apr 2008 23:58:28 -0600 (MDT) |
Author: jblum
Date: 2008-04-26 23:58:27 -0600 (Sat, 26 Apr 2008)
New Revision: 8284
Modified:
grc/trunk/src/grc/ActionHandler.py
grc/trunk/src/grc/Constants.py
grc/trunk/src/grc_gnuradio/extract_docs.py
Log:
fg snapshot fix, doc extractor fix
Modified: grc/trunk/src/grc/ActionHandler.py
===================================================================
--- grc/trunk/src/grc/ActionHandler.py 2008-04-26 18:15:07 UTC (rev 8283)
+++ grc/trunk/src/grc/ActionHandler.py 2008-04-27 05:58:27 UTC (rev 8284)
@@ -295,7 +295,7 @@
elif state == FLOW_GRAPH_SCREEN_CAPTURE:
file_path =
gui.SaveImageFileDialog(self.get_page().get_file_path()).run()
if file_path != None:
- pixmap = self.get_flow_graph().pixmap
+ pixmap = self.main_window.drawing_area.pixmap
width, height = pixmap.get_size()
pixbuf = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB,
0, 8, width, height)
pixbuf.get_from_drawable(pixmap,
pixmap.get_colormap(), 0, 0, 0, 0, width, height)
Modified: grc/trunk/src/grc/Constants.py
===================================================================
--- grc/trunk/src/grc/Constants.py 2008-04-26 18:15:07 UTC (rev 8283)
+++ grc/trunk/src/grc/Constants.py 2008-04-27 05:58:27 UTC (rev 8284)
@@ -125,7 +125,7 @@
SCROLL_DISTANCE = 15
##The redrawing sensitivity, how many motion detection events must occur
before a redraw?
-MOTION_DETECT_REDRAWING_SENSITIVITY = 3
+MOTION_DETECT_REDRAWING_SENSITIVITY = 5
##How close the mouse click can be to a connection and register a connection
select.
CONNECTION_SELECT_SENSITIVITY = 5
Modified: grc/trunk/src/grc_gnuradio/extract_docs.py
===================================================================
--- grc/trunk/src/grc_gnuradio/extract_docs.py 2008-04-26 18:15:07 UTC (rev
8283)
+++ grc/trunk/src/grc_gnuradio/extract_docs.py 2008-04-27 05:58:27 UTC (rev
8284)
@@ -77,7 +77,7 @@
file = file.replace('.xml', '') #remove file ext
file = file.replace('__', '_') #doxygen xml files have 2 underscores
file = file.replace('_1_1', '_') #weird blks2 doxygen syntax
- if key.startswith('gr_'): key = key.replace('gr_', '')
+ if key.startswith('gr_'): key = key.replace('gr_', 'classgr_')
elif key.startswith('blks2_'): key = key.replace('blks2_', '')
else: return False
for k, f in zip(*map(reversed, map(lambda x: x.split('_'), [key,
file]))):
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r8284 - in grc/trunk/src: grc grc_gnuradio,
jblum <=