dia r4140 - in trunk: . app lib objects/Database objects/SISSI objects/UML
- From: hans svn gnome org
- To: svn-commits-list gnome org
- Subject: dia r4140 - in trunk: . app lib objects/Database objects/SISSI objects/UML
- Date: Sun, 16 Nov 2008 17:49:53 +0000 (UTC)
Author: hans
Date: Sun Nov 16 17:49:53 2008
New Revision: 4140
URL: http://svn.gnome.org/viewvc/dia?rev=4140&view=rev
Log:
2008-11-16 Hans Breuer <hans breuer org>
* app/dia-props.c app/diapagelayout.c app/preferences.c
lib/dialogs.c lib/prop_geomtypes.c lib/prop_inttypes.c lib/widgets.c
objects/Database/table_dialog.c objects/SISSI/sissi_dialog.c
objects/UML/class_dialog.c : stop newer gtk+ complaining about
non-zero page size for spin buttons
Modified:
trunk/ChangeLog
trunk/app/dia-props.c
trunk/app/diapagelayout.c
trunk/app/preferences.c
trunk/lib/dialogs.c
trunk/lib/prop_geomtypes.c
trunk/lib/prop_inttypes.c
trunk/lib/widgets.c
trunk/objects/Database/table_dialog.c
trunk/objects/SISSI/sissi_dialog.c
trunk/objects/UML/class_dialog.c
Modified: trunk/app/dia-props.c
==============================================================================
--- trunk/app/dia-props.c (original)
+++ trunk/app/dia-props.c Sun Nov 16 17:49:53 2008
@@ -139,14 +139,14 @@
GTK_FILL, GTK_FILL, 0, 0);
gtk_widget_show(label);
- adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.0, 10.0, 0.1, 10.0, 10.0));
+ adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.0, 10.0, 0.1, 10.0, 0));
width_x_entry = gtk_spin_button_new(adj, 1.0, 3);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(width_x_entry), TRUE);
gtk_table_attach(GTK_TABLE(table), width_x_entry, 1,2, 2,3,
GTK_FILL|GTK_EXPAND, GTK_FILL, 0, 0);
gtk_widget_show(width_x_entry);
- adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.0, 10.0, 0.1, 10.0, 10.0));
+ adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.0, 10.0, 0.1, 10.0, 0));
width_y_entry = gtk_spin_button_new(adj, 1.0, 3);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(width_y_entry), TRUE);
gtk_table_attach(GTK_TABLE(table), width_y_entry, 2,3, 2,3,
@@ -159,14 +159,14 @@
GTK_FILL, GTK_FILL, 0, 0);
gtk_widget_show(label);
- adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.0, 100.0, 1.0, 10.0, 10.0));
+ adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.0, 100.0, 1.0, 10.0, 0));
visible_x_entry = gtk_spin_button_new(adj, 1.0, 0);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(visible_x_entry), TRUE);
gtk_table_attach(GTK_TABLE(table), visible_x_entry, 1,2, 3,4,
GTK_FILL|GTK_EXPAND, GTK_FILL, 0, 0);
gtk_widget_show(visible_x_entry);
- adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.0, 100.0, 1.0, 10.0, 10.0));
+ adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.0, 100.0, 1.0, 10.0, 0));
visible_y_entry = gtk_spin_button_new(adj, 1.0, 0);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(visible_y_entry), TRUE);
gtk_table_attach(GTK_TABLE(table), visible_y_entry, 2,3, 3,4,
@@ -188,7 +188,7 @@
GTK_FILL, GTK_FILL, 0, 0);
gtk_widget_show(label);
- adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.0, 100.0, 1.0, 10.0, 10.0));
+ adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.0, 100.0, 1.0, 10.0, 0));
hex_size_entry = gtk_spin_button_new(adj, 1.0, 0);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(hex_size_entry), TRUE);
gtk_table_attach(GTK_TABLE(table), hex_size_entry, 1,2, 5,6,
Modified: trunk/app/diapagelayout.c
==============================================================================
--- trunk/app/diapagelayout.c (original)
+++ trunk/app/diapagelayout.c Sun Nov 16 17:49:53 2008
@@ -240,7 +240,7 @@
gtk_widget_show(wid);
self->tmargin = dia_unit_spinner_new(
- GTK_ADJUSTMENT(gtk_adjustment_new(1, 0,100, 0.1,10,10)),
+ GTK_ADJUSTMENT(gtk_adjustment_new(1, 0,100, 0.1,10,0)),
prefs_get_length_unit());
gtk_table_attach(GTK_TABLE(table), self->tmargin, 1,2, 0,1,
GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND, 0, 0);
@@ -253,7 +253,7 @@
gtk_widget_show(wid);
self->bmargin = dia_unit_spinner_new(
- GTK_ADJUSTMENT(gtk_adjustment_new(1, 0,100, 0.1,10,10)),
+ GTK_ADJUSTMENT(gtk_adjustment_new(1, 0,100, 0.1,10,0)),
prefs_get_length_unit());
gtk_table_attach(GTK_TABLE(table), self->bmargin, 1,2, 1,2,
GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND, 0, 0);
@@ -266,7 +266,7 @@
gtk_widget_show(wid);
self->lmargin = dia_unit_spinner_new(
- GTK_ADJUSTMENT(gtk_adjustment_new(1, 0,100, 0.1,10,10)),
+ GTK_ADJUSTMENT(gtk_adjustment_new(1, 0,100, 0.1,10,0)),
prefs_get_length_unit());
gtk_table_attach(GTK_TABLE(table), self->lmargin, 1,2, 2,3,
GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND, 0, 0);
@@ -279,7 +279,7 @@
gtk_widget_show(wid);
self->rmargin = dia_unit_spinner_new(
- GTK_ADJUSTMENT(gtk_adjustment_new(1, 0,100, 0.1,10,10)),
+ GTK_ADJUSTMENT(gtk_adjustment_new(1, 0,100, 0.1,10,0)),
prefs_get_length_unit());
gtk_table_attach(GTK_TABLE(table), self->rmargin, 1,2, 3,4,
GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND, 0, 0);
@@ -303,7 +303,7 @@
gtk_widget_show(self->scale);
self->scaling = gtk_spin_button_new(
- GTK_ADJUSTMENT(gtk_adjustment_new(100,1,10000, 1,10,10)), 1, 1);
+ GTK_ADJUSTMENT(gtk_adjustment_new(100,1,10000, 1,10,0)), 1, 1);
gtk_table_attach(GTK_TABLE(table), self->scaling, 1,4, 0,1,
GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND, 0, 0);
gtk_widget_show(self->scaling);
@@ -315,7 +315,7 @@
gtk_widget_show(self->fitto);
self->fitw = gtk_spin_button_new(
- GTK_ADJUSTMENT(gtk_adjustment_new(1, 1, 1000, 1, 10, 10)), 1, 0);
+ GTK_ADJUSTMENT(gtk_adjustment_new(1, 1, 1000, 1, 10, 0)), 1, 0);
gtk_widget_set_sensitive(self->fitw, FALSE);
gtk_table_attach(GTK_TABLE(table), self->fitw, 1,2, 1,2,
GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND, 0, 0);
@@ -328,7 +328,7 @@
gtk_widget_show(wid);
self->fith = gtk_spin_button_new(
- GTK_ADJUSTMENT(gtk_adjustment_new(1, 1, 1000, 1, 10, 10)), 1, 0);
+ GTK_ADJUSTMENT(gtk_adjustment_new(1, 1, 1000, 1, 10, 0)), 1, 0);
gtk_widget_set_sensitive(self->fith, FALSE);
gtk_table_attach(GTK_TABLE(table), self->fith, 3,4, 1,2,
GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND, 0, 0);
Modified: trunk/app/preferences.c
==============================================================================
--- trunk/app/preferences.c (original)
+++ trunk/app/preferences.c Sun Nov 16 17:49:53 2008
@@ -433,7 +433,7 @@
case PREF_INT:
adj = GTK_ADJUSTMENT(gtk_adjustment_new(0.0,
G_MININT, G_MAXINT,
- 1.0, 10.0, 10.0 ));
+ 1.0, 10.0, 0));
widget = gtk_spin_button_new (adj, 1.0, 0);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(widget), TRUE);
gtk_widget_set_size_request (widget, 80, -1);
@@ -441,7 +441,7 @@
case PREF_UINT:
adj = GTK_ADJUSTMENT(gtk_adjustment_new(0.0,
0.0, G_MAXINT,
- 1.0, 10.0, 10.0 ));
+ 1.0, 10.0, 0));
widget = gtk_spin_button_new (adj, 1.0, 0);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(widget), TRUE);
gtk_widget_set_size_request (widget, 80, -1);
@@ -449,7 +449,7 @@
case PREF_REAL:
adj = GTK_ADJUSTMENT(gtk_adjustment_new(0.0,
G_MINFLOAT, G_MAXFLOAT,
- 1.0, 10.0, 10.0 ));
+ 1.0, 10.0, 0));
widget = gtk_spin_button_new (adj, 1.0, 3);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(widget), TRUE);
gtk_widget_set_size_request (widget, 80, -1);
@@ -457,7 +457,7 @@
case PREF_UREAL:
adj = GTK_ADJUSTMENT(gtk_adjustment_new(0.0,
0.0, G_MAXFLOAT,
- 1.0, 10.0, 10.0 ));
+ 1.0, 10.0, 0 ));
widget = gtk_spin_button_new (adj, 1.0, 3);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(widget), TRUE);
gtk_widget_set_size_request (widget, 80, -1);
Modified: trunk/lib/dialogs.c
==============================================================================
--- trunk/lib/dialogs.c (original)
+++ trunk/lib/dialogs.c Sun Nov 16 17:49:53 2008
@@ -66,7 +66,7 @@
dialog_add_spinbutton(GtkWidget *dialog, char *title,
real min, real max, real decimals) {
GtkAdjustment *limits =
- GTK_ADJUSTMENT(gtk_adjustment_new(10.0, min, max, 1.0, 10.0, 100.0));
+ GTK_ADJUSTMENT(gtk_adjustment_new(10.0, min, max, 1.0, 10.0, 0));
GtkWidget *box = gtk_hbox_new(FALSE, 10);
GtkWidget *label = gtk_label_new(title);
GtkWidget *entry = gtk_spin_button_new(limits, 10.0, decimals);
Modified: trunk/lib/prop_geomtypes.c
==============================================================================
--- trunk/lib/prop_geomtypes.c (original)
+++ trunk/lib/prop_geomtypes.c Sun Nov 16 17:49:53 2008
@@ -70,7 +70,7 @@
GtkAdjustment *adj = GTK_ADJUSTMENT(gtk_adjustment_new(prop->real_data,
G_MINFLOAT,
G_MAXFLOAT,
- 0.1, 1.0, 1.0));
+ 0.1, 1.0, 0));
GtkWidget *ret = gtk_spin_button_new(adj, 1.0, 2);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(ret),TRUE);
prophandler_connect(&prop->common,GTK_OBJECT(ret),"value_changed");
@@ -87,12 +87,11 @@
adj = GTK_ADJUSTMENT(gtk_adjustment_new(prop->real_data,
numdata->min, numdata->max,
numdata->step,
- 10.0 * numdata->step,
- 10.0 * numdata->step));
+ 10.0 * numdata->step, 0));
} else {
adj = GTK_ADJUSTMENT(gtk_adjustment_new(prop->real_data,
G_MINFLOAT, G_MAXFLOAT,
- 0.1, 1.0, 1.0));
+ 0.1, 1.0, 0));
}
gtk_spin_button_set_adjustment(GTK_SPIN_BUTTON(widget), adj);
}
@@ -181,7 +180,7 @@
GtkAdjustment *adj = GTK_ADJUSTMENT(gtk_adjustment_new(prop->length_data,
G_MINFLOAT,
G_MAXFLOAT,
- 0.1, 1.0, 1.0));
+ 0.1, 1.0, 0));
GtkWidget *ret = dia_unit_spinner_new(adj, prefs_get_length_unit());
/* gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(ret),TRUE);*/
prophandler_connect(&prop->common,GTK_OBJECT(ret),"value-changed");
@@ -199,12 +198,11 @@
adj = GTK_ADJUSTMENT(gtk_adjustment_new(prop->length_data,
numdata->min, numdata->max,
numdata->step,
- 10.0 * numdata->step,
- 10.0 * numdata->step));
+ 10.0 * numdata->step, 0));
} else {
adj = GTK_ADJUSTMENT(gtk_adjustment_new(prop->length_data,
G_MINFLOAT, G_MAXFLOAT,
- 0.1, 1.0, 1.0));
+ 0.1, 1.0, 0));
}
dia_unit_spinner_set_adjustment(GTK_SPIN_BUTTON(widget), adj);
*/
@@ -295,7 +293,7 @@
GtkAdjustment *adj = GTK_ADJUSTMENT(gtk_adjustment_new(prop->fontsize_data,
G_MINFLOAT,
G_MAXFLOAT,
- 0.1, 1.0, 1.0));
+ 0.1, 1.0, 0));
GtkWidget *ret = dia_unit_spinner_new(adj, prefs_get_fontsize_unit());
/* gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(ret),TRUE);*/
prophandler_connect(&prop->common,GTK_OBJECT(ret),"value-changed");
Modified: trunk/lib/prop_inttypes.c
==============================================================================
--- trunk/lib/prop_inttypes.c (original)
+++ trunk/lib/prop_inttypes.c Sun Nov 16 17:49:53 2008
@@ -280,7 +280,7 @@
{
GtkAdjustment *adj = GTK_ADJUSTMENT(gtk_adjustment_new(prop->int_data,
G_MININT, G_MAXINT,
- 1.0, 10.0, 10.0));
+ 1.0, 10.0, 0));
GtkWidget *ret = gtk_spin_button_new(adj, 1.0, 0);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(ret),TRUE);
prophandler_connect(&prop->common,GTK_OBJECT(ret),"value_changed");
@@ -296,12 +296,11 @@
PropNumData *numdata = prop->common.extra_data;
adj = GTK_ADJUSTMENT(gtk_adjustment_new(prop->int_data,
numdata->min, numdata->max,
- numdata->step, 10.0 * numdata->step,
- 10.0 * numdata->step));
+ numdata->step, 10.0 * numdata->step, 0));
} else {
adj = GTK_ADJUSTMENT(gtk_adjustment_new(prop->int_data,
G_MININT, G_MAXINT,
- 1.0, 10.0, 10.0));
+ 1.0, 10.0, 0));
}
gtk_spin_button_set_adjustment(GTK_SPIN_BUTTON(widget), adj);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(widget), TRUE);
Modified: trunk/lib/widgets.c
==============================================================================
--- trunk/lib/widgets.c (original)
+++ trunk/lib/widgets.c Sun Nov 16 17:49:53 2008
@@ -198,7 +198,7 @@
ss->ratio = 0.0;
/* Here's where we set up the real thing */
adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.01, 10,
- 0.1, 1.0, 1.0));
+ 0.1, 1.0, 0));
ss->width = GTK_SPIN_BUTTON(gtk_spin_button_new(adj, 1.0, 2));
gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(ss->width), TRUE);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(ss->width), TRUE);
@@ -206,7 +206,7 @@
gtk_widget_show(GTK_WIDGET(ss->width));
adj = GTK_ADJUSTMENT(gtk_adjustment_new(1.0, 0.01, 10,
- 0.1, 1.0, 1.0));
+ 0.1, 1.0, 0));
ss->height = GTK_SPIN_BUTTON(gtk_spin_button_new(adj, 1.0, 2));
gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(ss->height), TRUE);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(ss->height), TRUE);
@@ -940,7 +940,7 @@
gtk_box_pack_start_defaults(GTK_BOX(box), label);
gtk_widget_show(label);
- adj = (GtkAdjustment *)gtk_adjustment_new(0.1, 0.00, 10.0, 0.1, 1.0, 1.0);
+ adj = (GtkAdjustment *)gtk_adjustment_new(0.1, 0.00, 10.0, 0.1, 1.0, 0);
length = gtk_spin_button_new(adj, DEFAULT_LINESTYLE_DASHLEN, 2);
gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(length), TRUE);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(length), TRUE);
Modified: trunk/objects/Database/table_dialog.c
==============================================================================
--- trunk/objects/Database/table_dialog.c (original)
+++ trunk/objects/Database/table_dialog.c Sun Nov 16 17:49:53 2008
@@ -1013,7 +1013,7 @@
gtk_container_set_border_width (GTK_CONTAINER (vbox), 10);
hbox = gtk_hbox_new (FALSE, 5);
- adj = gtk_adjustment_new (table->border_width, 0.00, 10.0, 0.01, 0.1, 1.0);
+ adj = gtk_adjustment_new (table->border_width, 0.00, 10.0, 0.01, 0.1, 0);
prop_dialog->border_width =
GTK_SPIN_BUTTON (gtk_spin_button_new (GTK_ADJUSTMENT (adj), 0.1, 2));
gtk_spin_button_set_snap_to_ticks (prop_dialog->border_width, TRUE);
@@ -1111,7 +1111,7 @@
dia_font_selector_set_font (DIAFONTSELECTOR (*fontsel), font);
gtk_table_attach_defaults (GTK_TABLE (table), GTK_WIDGET(*fontsel), 1, 2, row, row+1);
- adj = gtk_adjustment_new (height, 0.1, 10.0, 0.1, 1.0, 1.0);
+ adj = gtk_adjustment_new (height, 0.1, 10.0, 0.1, 1.0, 0);
*heightsel = GTK_SPIN_BUTTON (gtk_spin_button_new (GTK_ADJUSTMENT(adj), 1.0, 2));
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (*heightsel), TRUE);
gtk_table_attach_defaults (table, GTK_WIDGET (*heightsel), 2, 3, row, row+1);
Modified: trunk/objects/SISSI/sissi_dialog.c
==============================================================================
--- trunk/objects/SISSI/sissi_dialog.c (original)
+++ trunk/objects/SISSI/sissi_dialog.c Sun Nov 16 17:49:53 2008
@@ -230,7 +230,7 @@
property_menace_widget->comments = gtk_entry_new();
-/* adj = gtk_adjustment_new( umlclass->wrap_after_char, 0.0, 200.0, 1.0, 5.0, 1.0);
+/* adj = gtk_adjustment_new( umlclass->wrap_after_char, 0.0, 200.0, 1.0, 5.0, 0);
// prop_dialog->wrap_after_char = GTK_SPIN_BUTTON(gtk_spin_button_new( GTK_ADJUSTMENT( adj), 0.1, 0));
// gtk_spin_button_set_numeric( GTK_SPIN_BUTTON( prop_dialog->wrap_after_char), TRUE);
// gtk_spin_button_set_snap_to_ticks( GTK_SPIN_BUTTON( prop_dialog->wrap_after_char), TRUE);*/
Modified: trunk/objects/UML/class_dialog.c
==============================================================================
--- trunk/objects/UML/class_dialog.c (original)
+++ trunk/objects/UML/class_dialog.c Sun Nov 16 17:49:53 2008
@@ -402,7 +402,7 @@
dia_font_selector_set_font (DIAFONTSELECTOR (*fontsel), font);
gtk_table_attach_defaults (GTK_TABLE (table), GTK_WIDGET(*fontsel), 1, 2, row, row+1);
- adj = gtk_adjustment_new (height, 0.1, 10.0, 0.1, 1.0, 1.0);
+ adj = gtk_adjustment_new (height, 0.1, 10.0, 0.1, 1.0, 0);
*heightsel = GTK_SPIN_BUTTON (gtk_spin_button_new (GTK_ADJUSTMENT(adj), 1.0, 2));
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (*heightsel), TRUE);
gtk_table_attach_defaults (table, GTK_WIDGET (*heightsel), 2, 3, row, row+1);
@@ -493,7 +493,7 @@
checkbox = gtk_check_button_new_with_label(_("Wrap Operations"));
prop_dialog->op_wrap = GTK_TOGGLE_BUTTON( checkbox );
gtk_box_pack_start (GTK_BOX (hbox), checkbox, TRUE, TRUE, 0);
- adj = gtk_adjustment_new( umlclass->wrap_after_char, 0.0, 200.0, 1.0, 5.0, 1.0);
+ adj = gtk_adjustment_new( umlclass->wrap_after_char, 0.0, 200.0, 1.0, 5.0, 0);
prop_dialog->wrap_after_char = GTK_SPIN_BUTTON(gtk_spin_button_new( GTK_ADJUSTMENT( adj), 0.1, 0));
gtk_spin_button_set_numeric( GTK_SPIN_BUTTON( prop_dialog->wrap_after_char), TRUE);
gtk_spin_button_set_snap_to_ticks( GTK_SPIN_BUTTON( prop_dialog->wrap_after_char), TRUE);
@@ -508,7 +508,7 @@
checkbox = gtk_check_button_new_with_label(_("Comments visible"));
prop_dialog->comments_vis = GTK_TOGGLE_BUTTON( checkbox );
gtk_box_pack_start (GTK_BOX (hbox), checkbox, TRUE, TRUE, 0);
- adj = gtk_adjustment_new( umlclass->comment_line_length, 17.0, 200.0, 1.0, 5.0, 1.0);
+ adj = gtk_adjustment_new( umlclass->comment_line_length, 17.0, 200.0, 1.0, 5.0, 0);
prop_dialog->comment_line_length = GTK_SPIN_BUTTON(gtk_spin_button_new( GTK_ADJUSTMENT( adj), 0.1, 0));
gtk_spin_button_set_numeric( GTK_SPIN_BUTTON( prop_dialog->comment_line_length), TRUE);
gtk_spin_button_set_snap_to_ticks( GTK_SPIN_BUTTON( prop_dialog->comment_line_length), TRUE);
@@ -607,7 +607,7 @@
label = gtk_label_new(_("Line Width"));
gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1, GTK_EXPAND | GTK_FILL, 0, 0, 2);
- adj = gtk_adjustment_new(umlclass->line_width, 0.0, G_MAXFLOAT, 0.1, 1.0, 0.0);
+ adj = gtk_adjustment_new(umlclass->line_width, 0.0, G_MAXFLOAT, 0.1, 1.0, 0);
line_width = gtk_spin_button_new (GTK_ADJUSTMENT(adj), 1.0, 2);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (line_width), TRUE);
prop_dialog->line_width = GTK_SPIN_BUTTON(line_width);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]