moved a few entries to other pages

--Sven
This commit is contained in:
Sven Neumann 2000-01-15 12:52:31 +00:00
parent 64b3867829
commit 627c1e1292
4 changed files with 254 additions and 270 deletions

View File

@ -1,3 +1,8 @@
Sat Jan 15 13:49:37 CET 2000 Sven Neumann <sven@gimp.org>
* app/preferences_dialog.c: Moved a few entries to other pages.
Makes much more sense now, IMHO.
Fri Jan 14 22:34:13 CET 2000 Sven Neumann <sven@gimp.org> Fri Jan 14 22:34:13 CET 2000 Sven Neumann <sven@gimp.org>
* libgimp/gimp.h * libgimp/gimp.h

View File

@ -1583,35 +1583,29 @@ file_pref_cmd_callback (GtkWidget *widget,
gimp_table_attach_aligned (GTK_TABLE (table), 1, gimp_table_attach_aligned (GTK_TABLE (table), 1,
_("Check Size:"), 1.0, 0.5, optionmenu, TRUE); _("Check Size:"), 1.0, 0.5, optionmenu, TRUE);
frame = gtk_frame_new (_("Scaling")); vbox2 = file_prefs_frame_new (_("8-Bit Displays"), GTK_BOX (vbox));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
hbox = gtk_hbox_new (FALSE, 2); if (g_visual->depth != 8)
gtk_container_add (GTK_CONTAINER (frame), hbox); gtk_widget_set_sensitive (GTK_WIDGET (vbox2->parent), FALSE);
gtk_widget_show (hbox);
table = gtk_table_new (1, 2, FALSE); button = gtk_check_button_new_with_label(_("Install Colormap"));
gtk_container_set_border_width (GTK_CONTAINER (table), 2); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
gtk_table_set_col_spacings (GTK_TABLE (table), 4); install_cmap);
gtk_box_pack_start (GTK_BOX (hbox), table, FALSE, FALSE, 0); gtk_signal_connect (GTK_OBJECT (button), "toggled",
gtk_widget_show (table); GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&edit_install_cmap);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
optionmenu = button = gtk_check_button_new_with_label(_("Colormap Cycling"));
gimp_option_menu_new (file_prefs_toggle_callback, gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
&interpolation_type, (gpointer) interpolation_type, cycled_marching_ants);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&edit_cycled_marching_ants);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
_("Nearest Neighbor (Fast)"),
(gpointer) NEAREST_NEIGHBOR_INTERPOLATION, NULL,
_("Linear"),
(gpointer) LINEAR_INTERPOLATION, NULL,
_("Cubic (Slow)"),
(gpointer) CUBIC_INTERPOLATION, NULL,
NULL);
gimp_table_attach_aligned (GTK_TABLE (table), 0,
_("Interpolation Type:"), 1.0, 0.5,
optionmenu, TRUE);
/* Interface */ /* Interface */
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook), vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
@ -1674,15 +1668,6 @@ file_pref_cmd_callback (GtkWidget *widget,
gimp_table_attach_aligned (GTK_TABLE (table), 1, gimp_table_attach_aligned (GTK_TABLE (table), 1,
_("Nav Preview Size:"), 1.0, 0.5, optionmenu, TRUE); _("Nav Preview Size:"), 1.0, 0.5, optionmenu, TRUE);
spinbutton =
gimp_spin_button_new (&adjustment,
levels_of_undo, 0.0, 255.0, 1.0, 5.0, 0.0, 1.0, 0.0);
gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed",
(GtkSignalFunc) file_prefs_int_adjustment_callback,
&levels_of_undo);
gimp_table_attach_aligned (GTK_TABLE (table), 2,
_("Levels of Undo:"), 1.0, 0.5, spinbutton, TRUE);
spinbutton = spinbutton =
gimp_spin_button_new (&adjustment, edit_last_opened_size, gimp_spin_button_new (&adjustment, edit_last_opened_size,
0.0, 16.0, 1.0, 5.0, 0.0, 1.0, 0.0); 0.0, 16.0, 1.0, 5.0, 0.0, 1.0, 0.0);
@ -1693,6 +1678,19 @@ file_pref_cmd_callback (GtkWidget *widget,
_("Recent Documents List Size:"), 1.0, 0.5, _("Recent Documents List Size:"), 1.0, 0.5,
spinbutton, TRUE); spinbutton, TRUE);
/* Indicators */
vbox2 = file_prefs_frame_new (_("Toolbar"), GTK_BOX (vbox));
button = gtk_check_button_new_with_label
(_("Display Brush, Pattern and Gradient Indicators"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
show_indicators);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&show_indicators);
gtk_widget_show (button);
vbox2 = file_prefs_frame_new (_("Dialog Behaviour"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("Dialog Behaviour"), GTK_BOX (vbox));
button = gtk_check_button_new_with_label (_("Navigation Window per Display")); button = gtk_check_button_new_with_label (_("Navigation Window per Display"));
@ -1780,6 +1778,15 @@ file_pref_cmd_callback (GtkWidget *widget,
vbox2 = file_prefs_frame_new (_("Appearance"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("Appearance"), GTK_BOX (vbox));
button = gtk_check_button_new_with_label (_("Use \"Dot for Dot\" by default"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
default_dot_for_dot);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&default_dot_for_dot);
gtk_widget_show (button);
button = gtk_check_button_new_with_label(_("Resize Window on Zoom")); button = gtk_check_button_new_with_label(_("Resize Window on Zoom"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
allow_resize_windows); allow_resize_windows);
@ -1868,7 +1875,7 @@ file_pref_cmd_callback (GtkWidget *widget,
vbox2 = file_prefs_frame_new (_("Pointer Movement Feedback"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("Pointer Movement Feedback"), GTK_BOX (vbox));
button = button =
gtk_check_button_new_with_label (_("Perfect-but-slow Pointer Tracking")); gtk_check_button_new_with_label (_("Perfect-but-Slow Pointer Tracking"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
perfectmouse); perfectmouse);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
@ -1886,21 +1893,6 @@ file_pref_cmd_callback (GtkWidget *widget,
&no_cursor_updating); &no_cursor_updating);
gtk_widget_show (button); gtk_widget_show (button);
/* Dot for dot */
vbox2 = gtk_vbox_new (FALSE, 2);
gtk_container_set_border_width (GTK_CONTAINER (vbox2), 2);
gtk_container_add (GTK_CONTAINER (vbox), vbox2);
gtk_widget_show (vbox2);
button = gtk_check_button_new_with_label (_("Use \"Dot for Dot\" by default"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
default_dot_for_dot);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&default_dot_for_dot);
gtk_widget_show (button);
/* Interface / Tool Options */ /* Interface / Tool Options */
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook), vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
_("Tool Options Settings"), _("Tool Options Settings"),
@ -1925,22 +1917,6 @@ file_pref_cmd_callback (GtkWidget *widget,
&global_paint_options); &global_paint_options);
gtk_widget_show (button); gtk_widget_show (button);
/* Indicators */
vbox2 = gtk_vbox_new (FALSE, 2);
gtk_container_set_border_width (GTK_CONTAINER (vbox2), 2);
gtk_container_add (GTK_CONTAINER (vbox), vbox2);
gtk_widget_show (vbox2);
button = gtk_check_button_new_with_label
(_("Display brush and pattern indicators on Toolbar"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
show_indicators);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&show_indicators);
gtk_widget_show (button);
/* Expand the "Interface" branch */ /* Expand the "Interface" branch */
gtk_ctree_expand (GTK_CTREE (ctree), top_insert); gtk_ctree_expand (GTK_CTREE (ctree), top_insert);
@ -1967,9 +1943,9 @@ file_pref_cmd_callback (GtkWidget *widget,
gtk_widget_show (button); gtk_widget_show (button);
#ifdef ENABLE_MP #ifdef ENABLE_MP
table = gtk_table_new (3, 2, FALSE); table = gtk_table_new (4, 2, FALSE);
#else #else
table = gtk_table_new (2, 2, FALSE); table = gtk_table_new (3, 2, FALSE);
#endif /* ENABLE_MP */ #endif /* ENABLE_MP */
gtk_container_set_border_width (GTK_CONTAINER (table), 2); gtk_container_set_border_width (GTK_CONTAINER (table), 2);
gtk_table_set_row_spacings (GTK_TABLE (table), 2); gtk_table_set_row_spacings (GTK_TABLE (table), 2);
@ -1977,6 +1953,16 @@ file_pref_cmd_callback (GtkWidget *widget,
gtk_box_pack_start (GTK_BOX (vbox2), table, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox2), table, FALSE, FALSE, 0);
gtk_widget_show (table); gtk_widget_show (table);
/* Levels of Undo */
spinbutton =
gimp_spin_button_new (&adjustment,
levels_of_undo, 0.0, 255.0, 1.0, 5.0, 0.0, 1.0, 0.0);
gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed",
(GtkSignalFunc) file_prefs_int_adjustment_callback,
&levels_of_undo);
gimp_table_attach_aligned (GTK_TABLE (table), 0,
_("Levels of Undo:"), 1.0, 0.5, spinbutton, TRUE);
/* The tile cache size */ /* The tile cache size */
mem_size_unit = 1; mem_size_unit = 1;
for (i = 0; i < 3; i++) for (i = 0; i < 3; i++)
@ -2017,7 +2003,7 @@ file_pref_cmd_callback (GtkWidget *widget,
NULL); NULL);
gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0);
gtk_widget_show (optionmenu); gtk_widget_show (optionmenu);
gimp_table_attach_aligned (GTK_TABLE (table), 0, gimp_table_attach_aligned (GTK_TABLE (table), 1,
_("Tile Cache Size:"), 1.0, 0.5, hbox, TRUE); _("Tile Cache Size:"), 1.0, 0.5, hbox, TRUE);
/* The maximum size of a new image */ /* The maximum size of a new image */
@ -2060,7 +2046,7 @@ file_pref_cmd_callback (GtkWidget *widget,
NULL); NULL);
gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0);
gtk_widget_show (optionmenu); gtk_widget_show (optionmenu);
gimp_table_attach_aligned (GTK_TABLE (table), 1, gimp_table_attach_aligned (GTK_TABLE (table), 2,
_("Maximum Image Size:"), 1.0, 0.5, hbox, TRUE); _("Maximum Image Size:"), 1.0, 0.5, hbox, TRUE);
#ifdef ENABLE_MP #ifdef ENABLE_MP
@ -2070,33 +2056,40 @@ file_pref_cmd_callback (GtkWidget *widget,
gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed", gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed",
GTK_SIGNAL_FUNC (file_prefs_int_adjustment_callback), GTK_SIGNAL_FUNC (file_prefs_int_adjustment_callback),
&num_processors); &num_processors);
gimp_table_attach_aligned (GTK_TABLE (table), 2, gimp_table_attach_aligned (GTK_TABLE (table), 3,
_("Number of Processors to Use:"), 1.0, 0.5, _("Number of Processors to Use:"), 1.0, 0.5,
spinbutton, TRUE); spinbutton, TRUE);
#endif /* ENABLE_MP */ #endif /* ENABLE_MP */
vbox2 = file_prefs_frame_new (_("8-Bit Displays"), GTK_BOX (vbox)); frame = gtk_frame_new (_("Scaling"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
if (g_visual->depth != 8) hbox = gtk_hbox_new (FALSE, 2);
gtk_widget_set_sensitive (GTK_WIDGET (vbox2->parent), FALSE); gtk_container_add (GTK_CONTAINER (frame), hbox);
gtk_widget_show (hbox);
button = gtk_check_button_new_with_label(_("Install Colormap")); table = gtk_table_new (1, 2, FALSE);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gtk_container_set_border_width (GTK_CONTAINER (table), 2);
install_cmap); gtk_table_set_col_spacings (GTK_TABLE (table), 4);
gtk_signal_connect (GTK_OBJECT (button), "toggled", gtk_box_pack_start (GTK_BOX (hbox), table, FALSE, FALSE, 0);
GTK_SIGNAL_FUNC (file_prefs_toggle_callback), gtk_widget_show (table);
&edit_install_cmap);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
button = gtk_check_button_new_with_label(_("Colormap Cycling")); optionmenu =
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gimp_option_menu_new (file_prefs_toggle_callback,
cycled_marching_ants); &interpolation_type, (gpointer) interpolation_type,
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback), _("Nearest Neighbor (Fast)"),
&edit_cycled_marching_ants); (gpointer) NEAREST_NEIGHBOR_INTERPOLATION, NULL,
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0); _("Linear"),
gtk_widget_show (button); (gpointer) LINEAR_INTERPOLATION, NULL,
_("Cubic (Slow)"),
(gpointer) CUBIC_INTERPOLATION, NULL,
NULL);
gimp_table_attach_aligned (GTK_TABLE (table), 0,
_("Interpolation Type:"), 1.0, 0.5,
optionmenu, TRUE);
vbox2 = file_prefs_frame_new (_("File Saving"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("File Saving"), GTK_BOX (vbox));

View File

@ -1583,35 +1583,29 @@ file_pref_cmd_callback (GtkWidget *widget,
gimp_table_attach_aligned (GTK_TABLE (table), 1, gimp_table_attach_aligned (GTK_TABLE (table), 1,
_("Check Size:"), 1.0, 0.5, optionmenu, TRUE); _("Check Size:"), 1.0, 0.5, optionmenu, TRUE);
frame = gtk_frame_new (_("Scaling")); vbox2 = file_prefs_frame_new (_("8-Bit Displays"), GTK_BOX (vbox));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
hbox = gtk_hbox_new (FALSE, 2); if (g_visual->depth != 8)
gtk_container_add (GTK_CONTAINER (frame), hbox); gtk_widget_set_sensitive (GTK_WIDGET (vbox2->parent), FALSE);
gtk_widget_show (hbox);
table = gtk_table_new (1, 2, FALSE); button = gtk_check_button_new_with_label(_("Install Colormap"));
gtk_container_set_border_width (GTK_CONTAINER (table), 2); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
gtk_table_set_col_spacings (GTK_TABLE (table), 4); install_cmap);
gtk_box_pack_start (GTK_BOX (hbox), table, FALSE, FALSE, 0); gtk_signal_connect (GTK_OBJECT (button), "toggled",
gtk_widget_show (table); GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&edit_install_cmap);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
optionmenu = button = gtk_check_button_new_with_label(_("Colormap Cycling"));
gimp_option_menu_new (file_prefs_toggle_callback, gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
&interpolation_type, (gpointer) interpolation_type, cycled_marching_ants);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&edit_cycled_marching_ants);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
_("Nearest Neighbor (Fast)"),
(gpointer) NEAREST_NEIGHBOR_INTERPOLATION, NULL,
_("Linear"),
(gpointer) LINEAR_INTERPOLATION, NULL,
_("Cubic (Slow)"),
(gpointer) CUBIC_INTERPOLATION, NULL,
NULL);
gimp_table_attach_aligned (GTK_TABLE (table), 0,
_("Interpolation Type:"), 1.0, 0.5,
optionmenu, TRUE);
/* Interface */ /* Interface */
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook), vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
@ -1674,15 +1668,6 @@ file_pref_cmd_callback (GtkWidget *widget,
gimp_table_attach_aligned (GTK_TABLE (table), 1, gimp_table_attach_aligned (GTK_TABLE (table), 1,
_("Nav Preview Size:"), 1.0, 0.5, optionmenu, TRUE); _("Nav Preview Size:"), 1.0, 0.5, optionmenu, TRUE);
spinbutton =
gimp_spin_button_new (&adjustment,
levels_of_undo, 0.0, 255.0, 1.0, 5.0, 0.0, 1.0, 0.0);
gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed",
(GtkSignalFunc) file_prefs_int_adjustment_callback,
&levels_of_undo);
gimp_table_attach_aligned (GTK_TABLE (table), 2,
_("Levels of Undo:"), 1.0, 0.5, spinbutton, TRUE);
spinbutton = spinbutton =
gimp_spin_button_new (&adjustment, edit_last_opened_size, gimp_spin_button_new (&adjustment, edit_last_opened_size,
0.0, 16.0, 1.0, 5.0, 0.0, 1.0, 0.0); 0.0, 16.0, 1.0, 5.0, 0.0, 1.0, 0.0);
@ -1693,6 +1678,19 @@ file_pref_cmd_callback (GtkWidget *widget,
_("Recent Documents List Size:"), 1.0, 0.5, _("Recent Documents List Size:"), 1.0, 0.5,
spinbutton, TRUE); spinbutton, TRUE);
/* Indicators */
vbox2 = file_prefs_frame_new (_("Toolbar"), GTK_BOX (vbox));
button = gtk_check_button_new_with_label
(_("Display Brush, Pattern and Gradient Indicators"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
show_indicators);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&show_indicators);
gtk_widget_show (button);
vbox2 = file_prefs_frame_new (_("Dialog Behaviour"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("Dialog Behaviour"), GTK_BOX (vbox));
button = gtk_check_button_new_with_label (_("Navigation Window per Display")); button = gtk_check_button_new_with_label (_("Navigation Window per Display"));
@ -1780,6 +1778,15 @@ file_pref_cmd_callback (GtkWidget *widget,
vbox2 = file_prefs_frame_new (_("Appearance"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("Appearance"), GTK_BOX (vbox));
button = gtk_check_button_new_with_label (_("Use \"Dot for Dot\" by default"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
default_dot_for_dot);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&default_dot_for_dot);
gtk_widget_show (button);
button = gtk_check_button_new_with_label(_("Resize Window on Zoom")); button = gtk_check_button_new_with_label(_("Resize Window on Zoom"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
allow_resize_windows); allow_resize_windows);
@ -1868,7 +1875,7 @@ file_pref_cmd_callback (GtkWidget *widget,
vbox2 = file_prefs_frame_new (_("Pointer Movement Feedback"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("Pointer Movement Feedback"), GTK_BOX (vbox));
button = button =
gtk_check_button_new_with_label (_("Perfect-but-slow Pointer Tracking")); gtk_check_button_new_with_label (_("Perfect-but-Slow Pointer Tracking"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
perfectmouse); perfectmouse);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
@ -1886,21 +1893,6 @@ file_pref_cmd_callback (GtkWidget *widget,
&no_cursor_updating); &no_cursor_updating);
gtk_widget_show (button); gtk_widget_show (button);
/* Dot for dot */
vbox2 = gtk_vbox_new (FALSE, 2);
gtk_container_set_border_width (GTK_CONTAINER (vbox2), 2);
gtk_container_add (GTK_CONTAINER (vbox), vbox2);
gtk_widget_show (vbox2);
button = gtk_check_button_new_with_label (_("Use \"Dot for Dot\" by default"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
default_dot_for_dot);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&default_dot_for_dot);
gtk_widget_show (button);
/* Interface / Tool Options */ /* Interface / Tool Options */
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook), vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
_("Tool Options Settings"), _("Tool Options Settings"),
@ -1925,22 +1917,6 @@ file_pref_cmd_callback (GtkWidget *widget,
&global_paint_options); &global_paint_options);
gtk_widget_show (button); gtk_widget_show (button);
/* Indicators */
vbox2 = gtk_vbox_new (FALSE, 2);
gtk_container_set_border_width (GTK_CONTAINER (vbox2), 2);
gtk_container_add (GTK_CONTAINER (vbox), vbox2);
gtk_widget_show (vbox2);
button = gtk_check_button_new_with_label
(_("Display brush and pattern indicators on Toolbar"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
show_indicators);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&show_indicators);
gtk_widget_show (button);
/* Expand the "Interface" branch */ /* Expand the "Interface" branch */
gtk_ctree_expand (GTK_CTREE (ctree), top_insert); gtk_ctree_expand (GTK_CTREE (ctree), top_insert);
@ -1967,9 +1943,9 @@ file_pref_cmd_callback (GtkWidget *widget,
gtk_widget_show (button); gtk_widget_show (button);
#ifdef ENABLE_MP #ifdef ENABLE_MP
table = gtk_table_new (3, 2, FALSE); table = gtk_table_new (4, 2, FALSE);
#else #else
table = gtk_table_new (2, 2, FALSE); table = gtk_table_new (3, 2, FALSE);
#endif /* ENABLE_MP */ #endif /* ENABLE_MP */
gtk_container_set_border_width (GTK_CONTAINER (table), 2); gtk_container_set_border_width (GTK_CONTAINER (table), 2);
gtk_table_set_row_spacings (GTK_TABLE (table), 2); gtk_table_set_row_spacings (GTK_TABLE (table), 2);
@ -1977,6 +1953,16 @@ file_pref_cmd_callback (GtkWidget *widget,
gtk_box_pack_start (GTK_BOX (vbox2), table, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox2), table, FALSE, FALSE, 0);
gtk_widget_show (table); gtk_widget_show (table);
/* Levels of Undo */
spinbutton =
gimp_spin_button_new (&adjustment,
levels_of_undo, 0.0, 255.0, 1.0, 5.0, 0.0, 1.0, 0.0);
gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed",
(GtkSignalFunc) file_prefs_int_adjustment_callback,
&levels_of_undo);
gimp_table_attach_aligned (GTK_TABLE (table), 0,
_("Levels of Undo:"), 1.0, 0.5, spinbutton, TRUE);
/* The tile cache size */ /* The tile cache size */
mem_size_unit = 1; mem_size_unit = 1;
for (i = 0; i < 3; i++) for (i = 0; i < 3; i++)
@ -2017,7 +2003,7 @@ file_pref_cmd_callback (GtkWidget *widget,
NULL); NULL);
gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0);
gtk_widget_show (optionmenu); gtk_widget_show (optionmenu);
gimp_table_attach_aligned (GTK_TABLE (table), 0, gimp_table_attach_aligned (GTK_TABLE (table), 1,
_("Tile Cache Size:"), 1.0, 0.5, hbox, TRUE); _("Tile Cache Size:"), 1.0, 0.5, hbox, TRUE);
/* The maximum size of a new image */ /* The maximum size of a new image */
@ -2060,7 +2046,7 @@ file_pref_cmd_callback (GtkWidget *widget,
NULL); NULL);
gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0);
gtk_widget_show (optionmenu); gtk_widget_show (optionmenu);
gimp_table_attach_aligned (GTK_TABLE (table), 1, gimp_table_attach_aligned (GTK_TABLE (table), 2,
_("Maximum Image Size:"), 1.0, 0.5, hbox, TRUE); _("Maximum Image Size:"), 1.0, 0.5, hbox, TRUE);
#ifdef ENABLE_MP #ifdef ENABLE_MP
@ -2070,33 +2056,40 @@ file_pref_cmd_callback (GtkWidget *widget,
gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed", gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed",
GTK_SIGNAL_FUNC (file_prefs_int_adjustment_callback), GTK_SIGNAL_FUNC (file_prefs_int_adjustment_callback),
&num_processors); &num_processors);
gimp_table_attach_aligned (GTK_TABLE (table), 2, gimp_table_attach_aligned (GTK_TABLE (table), 3,
_("Number of Processors to Use:"), 1.0, 0.5, _("Number of Processors to Use:"), 1.0, 0.5,
spinbutton, TRUE); spinbutton, TRUE);
#endif /* ENABLE_MP */ #endif /* ENABLE_MP */
vbox2 = file_prefs_frame_new (_("8-Bit Displays"), GTK_BOX (vbox)); frame = gtk_frame_new (_("Scaling"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
if (g_visual->depth != 8) hbox = gtk_hbox_new (FALSE, 2);
gtk_widget_set_sensitive (GTK_WIDGET (vbox2->parent), FALSE); gtk_container_add (GTK_CONTAINER (frame), hbox);
gtk_widget_show (hbox);
button = gtk_check_button_new_with_label(_("Install Colormap")); table = gtk_table_new (1, 2, FALSE);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gtk_container_set_border_width (GTK_CONTAINER (table), 2);
install_cmap); gtk_table_set_col_spacings (GTK_TABLE (table), 4);
gtk_signal_connect (GTK_OBJECT (button), "toggled", gtk_box_pack_start (GTK_BOX (hbox), table, FALSE, FALSE, 0);
GTK_SIGNAL_FUNC (file_prefs_toggle_callback), gtk_widget_show (table);
&edit_install_cmap);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
button = gtk_check_button_new_with_label(_("Colormap Cycling")); optionmenu =
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gimp_option_menu_new (file_prefs_toggle_callback,
cycled_marching_ants); &interpolation_type, (gpointer) interpolation_type,
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback), _("Nearest Neighbor (Fast)"),
&edit_cycled_marching_ants); (gpointer) NEAREST_NEIGHBOR_INTERPOLATION, NULL,
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0); _("Linear"),
gtk_widget_show (button); (gpointer) LINEAR_INTERPOLATION, NULL,
_("Cubic (Slow)"),
(gpointer) CUBIC_INTERPOLATION, NULL,
NULL);
gimp_table_attach_aligned (GTK_TABLE (table), 0,
_("Interpolation Type:"), 1.0, 0.5,
optionmenu, TRUE);
vbox2 = file_prefs_frame_new (_("File Saving"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("File Saving"), GTK_BOX (vbox));

View File

@ -1583,35 +1583,29 @@ file_pref_cmd_callback (GtkWidget *widget,
gimp_table_attach_aligned (GTK_TABLE (table), 1, gimp_table_attach_aligned (GTK_TABLE (table), 1,
_("Check Size:"), 1.0, 0.5, optionmenu, TRUE); _("Check Size:"), 1.0, 0.5, optionmenu, TRUE);
frame = gtk_frame_new (_("Scaling")); vbox2 = file_prefs_frame_new (_("8-Bit Displays"), GTK_BOX (vbox));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
hbox = gtk_hbox_new (FALSE, 2); if (g_visual->depth != 8)
gtk_container_add (GTK_CONTAINER (frame), hbox); gtk_widget_set_sensitive (GTK_WIDGET (vbox2->parent), FALSE);
gtk_widget_show (hbox);
table = gtk_table_new (1, 2, FALSE); button = gtk_check_button_new_with_label(_("Install Colormap"));
gtk_container_set_border_width (GTK_CONTAINER (table), 2); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
gtk_table_set_col_spacings (GTK_TABLE (table), 4); install_cmap);
gtk_box_pack_start (GTK_BOX (hbox), table, FALSE, FALSE, 0); gtk_signal_connect (GTK_OBJECT (button), "toggled",
gtk_widget_show (table); GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&edit_install_cmap);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
optionmenu = button = gtk_check_button_new_with_label(_("Colormap Cycling"));
gimp_option_menu_new (file_prefs_toggle_callback, gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
&interpolation_type, (gpointer) interpolation_type, cycled_marching_ants);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&edit_cycled_marching_ants);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
_("Nearest Neighbor (Fast)"),
(gpointer) NEAREST_NEIGHBOR_INTERPOLATION, NULL,
_("Linear"),
(gpointer) LINEAR_INTERPOLATION, NULL,
_("Cubic (Slow)"),
(gpointer) CUBIC_INTERPOLATION, NULL,
NULL);
gimp_table_attach_aligned (GTK_TABLE (table), 0,
_("Interpolation Type:"), 1.0, 0.5,
optionmenu, TRUE);
/* Interface */ /* Interface */
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook), vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
@ -1674,15 +1668,6 @@ file_pref_cmd_callback (GtkWidget *widget,
gimp_table_attach_aligned (GTK_TABLE (table), 1, gimp_table_attach_aligned (GTK_TABLE (table), 1,
_("Nav Preview Size:"), 1.0, 0.5, optionmenu, TRUE); _("Nav Preview Size:"), 1.0, 0.5, optionmenu, TRUE);
spinbutton =
gimp_spin_button_new (&adjustment,
levels_of_undo, 0.0, 255.0, 1.0, 5.0, 0.0, 1.0, 0.0);
gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed",
(GtkSignalFunc) file_prefs_int_adjustment_callback,
&levels_of_undo);
gimp_table_attach_aligned (GTK_TABLE (table), 2,
_("Levels of Undo:"), 1.0, 0.5, spinbutton, TRUE);
spinbutton = spinbutton =
gimp_spin_button_new (&adjustment, edit_last_opened_size, gimp_spin_button_new (&adjustment, edit_last_opened_size,
0.0, 16.0, 1.0, 5.0, 0.0, 1.0, 0.0); 0.0, 16.0, 1.0, 5.0, 0.0, 1.0, 0.0);
@ -1693,6 +1678,19 @@ file_pref_cmd_callback (GtkWidget *widget,
_("Recent Documents List Size:"), 1.0, 0.5, _("Recent Documents List Size:"), 1.0, 0.5,
spinbutton, TRUE); spinbutton, TRUE);
/* Indicators */
vbox2 = file_prefs_frame_new (_("Toolbar"), GTK_BOX (vbox));
button = gtk_check_button_new_with_label
(_("Display Brush, Pattern and Gradient Indicators"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
show_indicators);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&show_indicators);
gtk_widget_show (button);
vbox2 = file_prefs_frame_new (_("Dialog Behaviour"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("Dialog Behaviour"), GTK_BOX (vbox));
button = gtk_check_button_new_with_label (_("Navigation Window per Display")); button = gtk_check_button_new_with_label (_("Navigation Window per Display"));
@ -1780,6 +1778,15 @@ file_pref_cmd_callback (GtkWidget *widget,
vbox2 = file_prefs_frame_new (_("Appearance"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("Appearance"), GTK_BOX (vbox));
button = gtk_check_button_new_with_label (_("Use \"Dot for Dot\" by default"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
default_dot_for_dot);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&default_dot_for_dot);
gtk_widget_show (button);
button = gtk_check_button_new_with_label(_("Resize Window on Zoom")); button = gtk_check_button_new_with_label(_("Resize Window on Zoom"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
allow_resize_windows); allow_resize_windows);
@ -1868,7 +1875,7 @@ file_pref_cmd_callback (GtkWidget *widget,
vbox2 = file_prefs_frame_new (_("Pointer Movement Feedback"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("Pointer Movement Feedback"), GTK_BOX (vbox));
button = button =
gtk_check_button_new_with_label (_("Perfect-but-slow Pointer Tracking")); gtk_check_button_new_with_label (_("Perfect-but-Slow Pointer Tracking"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
perfectmouse); perfectmouse);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
@ -1886,21 +1893,6 @@ file_pref_cmd_callback (GtkWidget *widget,
&no_cursor_updating); &no_cursor_updating);
gtk_widget_show (button); gtk_widget_show (button);
/* Dot for dot */
vbox2 = gtk_vbox_new (FALSE, 2);
gtk_container_set_border_width (GTK_CONTAINER (vbox2), 2);
gtk_container_add (GTK_CONTAINER (vbox), vbox2);
gtk_widget_show (vbox2);
button = gtk_check_button_new_with_label (_("Use \"Dot for Dot\" by default"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
default_dot_for_dot);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&default_dot_for_dot);
gtk_widget_show (button);
/* Interface / Tool Options */ /* Interface / Tool Options */
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook), vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
_("Tool Options Settings"), _("Tool Options Settings"),
@ -1925,22 +1917,6 @@ file_pref_cmd_callback (GtkWidget *widget,
&global_paint_options); &global_paint_options);
gtk_widget_show (button); gtk_widget_show (button);
/* Indicators */
vbox2 = gtk_vbox_new (FALSE, 2);
gtk_container_set_border_width (GTK_CONTAINER (vbox2), 2);
gtk_container_add (GTK_CONTAINER (vbox), vbox2);
gtk_widget_show (vbox2);
button = gtk_check_button_new_with_label
(_("Display brush and pattern indicators on Toolbar"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
show_indicators);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback),
&show_indicators);
gtk_widget_show (button);
/* Expand the "Interface" branch */ /* Expand the "Interface" branch */
gtk_ctree_expand (GTK_CTREE (ctree), top_insert); gtk_ctree_expand (GTK_CTREE (ctree), top_insert);
@ -1967,9 +1943,9 @@ file_pref_cmd_callback (GtkWidget *widget,
gtk_widget_show (button); gtk_widget_show (button);
#ifdef ENABLE_MP #ifdef ENABLE_MP
table = gtk_table_new (3, 2, FALSE); table = gtk_table_new (4, 2, FALSE);
#else #else
table = gtk_table_new (2, 2, FALSE); table = gtk_table_new (3, 2, FALSE);
#endif /* ENABLE_MP */ #endif /* ENABLE_MP */
gtk_container_set_border_width (GTK_CONTAINER (table), 2); gtk_container_set_border_width (GTK_CONTAINER (table), 2);
gtk_table_set_row_spacings (GTK_TABLE (table), 2); gtk_table_set_row_spacings (GTK_TABLE (table), 2);
@ -1977,6 +1953,16 @@ file_pref_cmd_callback (GtkWidget *widget,
gtk_box_pack_start (GTK_BOX (vbox2), table, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox2), table, FALSE, FALSE, 0);
gtk_widget_show (table); gtk_widget_show (table);
/* Levels of Undo */
spinbutton =
gimp_spin_button_new (&adjustment,
levels_of_undo, 0.0, 255.0, 1.0, 5.0, 0.0, 1.0, 0.0);
gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed",
(GtkSignalFunc) file_prefs_int_adjustment_callback,
&levels_of_undo);
gimp_table_attach_aligned (GTK_TABLE (table), 0,
_("Levels of Undo:"), 1.0, 0.5, spinbutton, TRUE);
/* The tile cache size */ /* The tile cache size */
mem_size_unit = 1; mem_size_unit = 1;
for (i = 0; i < 3; i++) for (i = 0; i < 3; i++)
@ -2017,7 +2003,7 @@ file_pref_cmd_callback (GtkWidget *widget,
NULL); NULL);
gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0);
gtk_widget_show (optionmenu); gtk_widget_show (optionmenu);
gimp_table_attach_aligned (GTK_TABLE (table), 0, gimp_table_attach_aligned (GTK_TABLE (table), 1,
_("Tile Cache Size:"), 1.0, 0.5, hbox, TRUE); _("Tile Cache Size:"), 1.0, 0.5, hbox, TRUE);
/* The maximum size of a new image */ /* The maximum size of a new image */
@ -2060,7 +2046,7 @@ file_pref_cmd_callback (GtkWidget *widget,
NULL); NULL);
gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0);
gtk_widget_show (optionmenu); gtk_widget_show (optionmenu);
gimp_table_attach_aligned (GTK_TABLE (table), 1, gimp_table_attach_aligned (GTK_TABLE (table), 2,
_("Maximum Image Size:"), 1.0, 0.5, hbox, TRUE); _("Maximum Image Size:"), 1.0, 0.5, hbox, TRUE);
#ifdef ENABLE_MP #ifdef ENABLE_MP
@ -2070,33 +2056,40 @@ file_pref_cmd_callback (GtkWidget *widget,
gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed", gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed",
GTK_SIGNAL_FUNC (file_prefs_int_adjustment_callback), GTK_SIGNAL_FUNC (file_prefs_int_adjustment_callback),
&num_processors); &num_processors);
gimp_table_attach_aligned (GTK_TABLE (table), 2, gimp_table_attach_aligned (GTK_TABLE (table), 3,
_("Number of Processors to Use:"), 1.0, 0.5, _("Number of Processors to Use:"), 1.0, 0.5,
spinbutton, TRUE); spinbutton, TRUE);
#endif /* ENABLE_MP */ #endif /* ENABLE_MP */
vbox2 = file_prefs_frame_new (_("8-Bit Displays"), GTK_BOX (vbox)); frame = gtk_frame_new (_("Scaling"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
if (g_visual->depth != 8) hbox = gtk_hbox_new (FALSE, 2);
gtk_widget_set_sensitive (GTK_WIDGET (vbox2->parent), FALSE); gtk_container_add (GTK_CONTAINER (frame), hbox);
gtk_widget_show (hbox);
button = gtk_check_button_new_with_label(_("Install Colormap")); table = gtk_table_new (1, 2, FALSE);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gtk_container_set_border_width (GTK_CONTAINER (table), 2);
install_cmap); gtk_table_set_col_spacings (GTK_TABLE (table), 4);
gtk_signal_connect (GTK_OBJECT (button), "toggled", gtk_box_pack_start (GTK_BOX (hbox), table, FALSE, FALSE, 0);
GTK_SIGNAL_FUNC (file_prefs_toggle_callback), gtk_widget_show (table);
&edit_install_cmap);
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
button = gtk_check_button_new_with_label(_("Colormap Cycling")); optionmenu =
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gimp_option_menu_new (file_prefs_toggle_callback,
cycled_marching_ants); &interpolation_type, (gpointer) interpolation_type,
gtk_signal_connect (GTK_OBJECT (button), "toggled",
GTK_SIGNAL_FUNC (file_prefs_toggle_callback), _("Nearest Neighbor (Fast)"),
&edit_cycled_marching_ants); (gpointer) NEAREST_NEIGHBOR_INTERPOLATION, NULL,
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0); _("Linear"),
gtk_widget_show (button); (gpointer) LINEAR_INTERPOLATION, NULL,
_("Cubic (Slow)"),
(gpointer) CUBIC_INTERPOLATION, NULL,
NULL);
gimp_table_attach_aligned (GTK_TABLE (table), 0,
_("Interpolation Type:"), 1.0, 0.5,
optionmenu, TRUE);
vbox2 = file_prefs_frame_new (_("File Saving"), GTK_BOX (vbox)); vbox2 = file_prefs_frame_new (_("File Saving"), GTK_BOX (vbox));