[xiph-commits] r12281 - trunk/sushivision
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Mon Jan 1 13:55:49 PST 2007
Author: xiphmont
Date: 2007-01-01 13:55:45 -0800 (Mon, 01 Jan 2007)
New Revision: 12281
Modified:
trunk/sushivision/panel-1d.c
trunk/sushivision/panel-2d.c
trunk/sushivision/plot.c
Log:
Correct a very minor legend update problem
clear legend as well upon escape
Modified: trunk/sushivision/panel-1d.c
===================================================================
--- trunk/sushivision/panel-1d.c 2007-01-01 21:42:23 UTC (rev 12280)
+++ trunk/sushivision/panel-1d.c 2007-01-01 21:55:45 UTC (rev 12281)
@@ -613,6 +613,8 @@
if(p1->link_y)
link=p1->link_y;
+ _sushiv_panel_dirty_legend(p);
+
if(p1->link_x){
// make it the master panel's problem.
plot_set_crosshairs_snap(PLOT(link->private->graph),
@@ -1021,7 +1023,7 @@
"Redo",
"",
"Start zoom selection",
- "Clear selection",
+ "Clear readouts",
"Find peaks",
"",
"Quit",
Modified: trunk/sushivision/panel-2d.c
===================================================================
--- trunk/sushivision/panel-2d.c 2007-01-01 21:42:23 UTC (rev 12280)
+++ trunk/sushivision/panel-2d.c 2007-01-01 21:55:45 UTC (rev 12281)
@@ -682,6 +682,7 @@
p2->oldbox_active = 0;
}
+ _sushiv_panel_dirty_legend(p);
_sushiv_panel_undo_resume(p);
}
@@ -1092,7 +1093,7 @@
"Redo",
"",
"Start zoom box",
- "Clear box and crosshairs",
+ "Clear readouts",
"Find peaks",
"",
"Quit",
Modified: trunk/sushivision/plot.c
===================================================================
--- trunk/sushivision/plot.c 2007-01-01 21:42:23 UTC (rev 12280)
+++ trunk/sushivision/plot.c 2007-01-01 21:55:45 UTC (rev 12281)
@@ -666,7 +666,8 @@
p->button_down=0;
p->box_active=0;
p->cross_active=0;
- plot_expose_request(p);
+ plot_legend_clear(p);
+ plot_draw_scales(p);
}
static gboolean key_press(GtkWidget *widget,
More information about the commits
mailing list