[gimp] app: add the profile import policy to prefs -> import
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add the profile import policy to prefs -> import
- Date: Sat, 18 Feb 2017 00:58:58 +0000 (UTC)
commit f538eb2912191411abce2450057a301e044d9c22
Author: Michael Natterer <mitch gimp org>
Date: Sat Feb 18 01:57:28 2017 +0100
app: add the profile import policy to prefs -> import
and indent the "dither" setting because it's a sub-setting of
"promote to float".
app/dialogs/preferences-dialog.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/app/dialogs/preferences-dialog.c b/app/dialogs/preferences-dialog.c
index 4ccffdb..1410ab5 100644
--- a/app/dialogs/preferences-dialog.c
+++ b/app/dialogs/preferences-dialog.c
@@ -969,6 +969,7 @@ prefs_dialog_new (Gimp *gimp,
GtkWidget *vbox;
GtkWidget *hbox;
GtkWidget *vbox2;
+ GtkWidget *vbox3;
GtkWidget *button;
GtkWidget *button2;
GtkWidget *table;
@@ -1295,15 +1296,22 @@ prefs_dialog_new (Gimp *gimp,
_("Promote imported images to "
"_floating point precision"),
GTK_BOX (vbox2));
+
+ vbox3 = prefs_frame_new (NULL, GTK_CONTAINER (vbox2), FALSE);
button = prefs_check_button_add (object, "import-promote-dither",
_("Dither images when promoting to "
"floating point"),
- GTK_BOX (vbox2));
+ GTK_BOX (vbox3));
button = prefs_check_button_add (object, "import-add-alpha",
_("Add an alpha channel to imported images"),
GTK_BOX (vbox2));
+ table = prefs_table_new (1, GTK_CONTAINER (vbox2));
+ button = prefs_enum_combo_box_add (object, "color-profile-policy", 0, 0,
+ _("Color profile policy:"),
+ GTK_TABLE (table), 0, NULL);
+
/****************/
/* Playground */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]