[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: x_autonumber.c
User: werner
Date: 07/01/04 07:30:41
Modified: . x_autonumber.c x_compselect.c
Log:
* src/x_compselect.c: added expand property for the filter entry
* src/x_autonumber.c: set default the searchtext to the first history
element, use SCOPE_PAGE as skip default value
Revision Changes Path
1.9 +4 -1 eda/geda/gaf/gschem/src/x_autonumber.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: x_autonumber.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_autonumber.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- x_autonumber.c 31 Dec 2006 11:56:03 -0000 1.8
+++ x_autonumber.c 4 Jan 2007 12:30:41 -0000 1.9
@@ -996,7 +996,7 @@
t++;
}
- autotext->scope_skip = SCOPE_SELECTED;
+ autotext->scope_skip = SCOPE_PAGE;
autotext->scope_number = SCOPE_SELECTED;
autotext->scope_overwrite = 0;
@@ -1039,6 +1039,9 @@
gtk_combo_box_append_text(GTK_COMBO_BOX(widget), el->data);
}
+ widget = gtk_bin_get_child(GTK_BIN(widget));
+ gtk_entry_set_text(GTK_ENTRY(widget), g_list_first(autotext->scope_text)->data);
+
widget = lookup_widget(autotext->dialog, "scope_skip");
gtk_combo_box_set_active(GTK_COMBO_BOX(widget),
autotext->scope_skip);
1.14 +1 -1 eda/geda/gaf/gschem/src/x_compselect.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: x_compselect.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_compselect.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- x_compselect.c 18 Dec 2006 17:11:14 -0000 1.13
+++ x_compselect.c 4 Jan 2007 12:30:41 -0000 1.14
@@ -789,7 +789,7 @@
compselect);
/* add the filter entry to the filter area */
gtk_box_pack_start (GTK_BOX (filter_hbox), entry,
- FALSE, FALSE, 0);
+ TRUE, TRUE, 0);
/* set filter entry of compselect */
compselect->entry_filter = GTK_ENTRY (entry);
/* and init the event source for component filter */
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs