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

gEDA-cvs: pcb.git: branch: master updated (32bb4df121badde66d50a6562051336da24762e9)



The branch, master has been updated
       via  32bb4df121badde66d50a6562051336da24762e9 (commit)
      from  eaae1aa2d4f4c7e5508597d0fc801a17caeff577 (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
=========

 src/hid/gtk/gtk-pcb-coord-entry.c |    4 ++--
 src/hid/gtk/gui-dialog-print.c    |    1 -
 2 files changed, 2 insertions(+), 3 deletions(-)


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

commit 32bb4df121badde66d50a6562051336da24762e9
Author: Andrew Poelstra <asp11@xxxxxx>
Commit: Andrew Poelstra <asp11@xxxxxx>

    Fix: spin increments not working in GtkPcbCoordEntry after unit change

:100644 100644 b7037cd... 83dcaa0... M	src/hid/gtk/gtk-pcb-coord-entry.c
:100644 100644 a0d28f3... 71b078f... M	src/hid/gtk/gui-dialog-print.c

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

commit 32bb4df121badde66d50a6562051336da24762e9
Author: Andrew Poelstra <asp11@xxxxxx>
Commit: Andrew Poelstra <asp11@xxxxxx>

    Fix: spin increments not working in GtkPcbCoordEntry after unit change

diff --git a/src/hid/gtk/gtk-pcb-coord-entry.c b/src/hid/gtk/gtk-pcb-coord-entry.c
index b7037cd..83dcaa0 100644
--- a/src/hid/gtk/gtk-pcb-coord-entry.c
+++ b/src/hid/gtk/gtk-pcb-coord-entry.c
@@ -137,8 +137,8 @@ gtk_pcb_coord_entry_change_unit (GtkPcbCoordEntry *ce, const Unit *new_unit)
   gtk_adjustment_configure (adj, coord_to_unit (new_unit, ce->value),
                                  coord_to_unit (new_unit, ce->min_value),
                                  coord_to_unit (new_unit, ce->max_value),
-                                 coord_to_unit (new_unit, ce->unit->step_small),
-                                 coord_to_unit (new_unit, ce->unit->step_medium),
+                                 ce->unit->step_small,
+                                 ce->unit->step_medium,
                                  0.0);
 
   switch (ce->step_size)
diff --git a/src/hid/gtk/gui-dialog-print.c b/src/hid/gtk/gui-dialog-print.c
index a0d28f3..71b078f 100644
--- a/src/hid/gtk/gui-dialog-print.c
+++ b/src/hid/gtk/gui-dialog-print.c
@@ -174,7 +174,6 @@ ghid_attribute_dialog (HID_Attribute * attrs,
 	  hbox = gtk_hbox_new (FALSE, 4);
 	  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
 
-	  /* FIXME: need to write a coord-entry widget for this */
 	  entry = gtk_pcb_coord_entry_new (attrs[j].min_val, attrs[j].max_val,
 	                                   attrs[j].default_val.coord_value,
 	                                   Settings.grid_unit, CE_SMALL);




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