app: set the palette import dialog's "# Colors" scale to logarithmic

because the scale is useless otherwise with its range of 2..10000,
and because I needed a test case for the next commit (the
gimp_scale_entry_set_logarithmic() API was unused).
This commit is contained in:
Michael Natterer 2017-05-18 18:21:51 +02:00
parent 9d482309bb
commit 4f903a69b3
1 changed files with 1 additions and 0 deletions

View File

@ -324,6 +324,7 @@ palette_import_dialog_new (GimpContext *context)
256, 2, 10000, 1, 10, 0,
TRUE, 0.0, 0.0,
NULL, NULL));
gimp_scale_entry_set_logarithmic (GTK_OBJECT (private->num_colors), TRUE);
g_signal_connect_swapped (private->num_colors,
"value-changed",