[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-85-g0d28977)



The branch, master has been updated
       via  0d28977cd5e275a799ec3773f302ddf9b9544fd3 (commit)
      from  6cf89af1dc94790e8671a2c5d760a47a31d3a6eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/x_attribedit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit 0d28977cd5e275a799ec3773f302ddf9b9544fd3
Author: Bernd Jendrissek <bernd.jendrissek@xxxxxxxxx>
Date:   Wed Aug 13 01:48:12 2008 +0100

    gschem: Erase the newly placed attribute before changing its position.
    
    Changing the position first then erasing causes the wrong bounding
    rectangle on the screen to be invalidated.  We need to invalidate the
    bounding rectangle of the *old* position.

:100644 100644 97cd73d... 9446f32... M	gschem/src/x_attribedit.c

=========
 Changes
=========

commit 0d28977cd5e275a799ec3773f302ddf9b9544fd3
Author: Bernd Jendrissek <bernd.jendrissek@xxxxxxxxx>
Date:   Wed Aug 13 01:48:12 2008 +0100

    gschem: Erase the newly placed attribute before changing its position.
    
    Changing the position first then erasing causes the wrong bounding
    rectangle on the screen to be invalidated.  We need to invalidate the
    bounding rectangle of the *old* position.

diff --git a/gschem/src/x_attribedit.c b/gschem/src/x_attribedit.c
index 97cd73d..9446f32 100644
--- a/gschem/src/x_attribedit.c
+++ b/gschem/src/x_attribedit.c
@@ -244,9 +244,9 @@ void attrib_edit_dialog_ok(GtkWidget * w, GSCHEM_TOPLEVEL *w_current)
 #endif
       if (invocation_flag == FROM_HOTKEY
 	  && wx != -1 && wy != -1) {
+	o_erase_single(w_current, new);
 	new->text->x = wx;
 	new->text->y = wy;
-	o_erase_single(w_current, new);
 	o_text_recreate(toplevel, new);
 	o_text_draw(w_current, new);
 	toplevel->page_current->CHANGED = 1;




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs