mirror of https://github.com/GNOME/gimp.git
plug-ins: remove the "Advanced Options" expander in WebP export dialog.
Similarly to other export dialogs, we don't consider anymore metadata or
profile writing as being advanced options. Since these were the only
options shown in our current WebP export dialog, I removed the expander
altogether and moved everything out.
See also commit 540cfa9611
.
This commit is contained in:
parent
6712228e5e
commit
26ba915ca5
|
@ -359,27 +359,10 @@ save_dialog (WebPSaveParams *params,
|
|||
¶ms->force_delay);
|
||||
}
|
||||
|
||||
/* Advanced options */
|
||||
text = g_strdup_printf ("<b>%s</b>", _("_Advanced Options"));
|
||||
expander = gtk_expander_new_with_mnemonic (text);
|
||||
gtk_expander_set_use_markup (GTK_EXPANDER (expander), TRUE);
|
||||
g_free (text);
|
||||
|
||||
gtk_box_pack_start (GTK_BOX (vbox), expander, TRUE, TRUE, 0);
|
||||
gtk_widget_show (expander);
|
||||
|
||||
frame = gimp_frame_new ("<expander>");
|
||||
gtk_container_add (GTK_CONTAINER (expander), frame);
|
||||
gtk_widget_show (frame);
|
||||
|
||||
vbox2 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
|
||||
gtk_container_add (GTK_CONTAINER (frame), vbox2);
|
||||
gtk_widget_show (vbox2);
|
||||
|
||||
/* Save EXIF data */
|
||||
toggle = gtk_check_button_new_with_mnemonic (_("Save _Exif data"));
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle), params->exif);
|
||||
gtk_box_pack_start (GTK_BOX (vbox2), toggle, FALSE, FALSE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
|
||||
gtk_widget_show (toggle);
|
||||
|
||||
g_signal_connect (toggle, "toggled",
|
||||
|
@ -389,7 +372,7 @@ save_dialog (WebPSaveParams *params,
|
|||
/* XMP metadata */
|
||||
toggle = gtk_check_button_new_with_mnemonic (_("Save _XMP data"));
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle), params->xmp);
|
||||
gtk_box_pack_start (GTK_BOX (vbox2), toggle, FALSE, FALSE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
|
||||
gtk_widget_show (toggle);
|
||||
|
||||
g_signal_connect (toggle, "toggled",
|
||||
|
@ -399,7 +382,7 @@ save_dialog (WebPSaveParams *params,
|
|||
/* Color profile */
|
||||
toggle = gtk_check_button_new_with_mnemonic (_("Save color _profile"));
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle), params->profile);
|
||||
gtk_box_pack_start (GTK_BOX (vbox2), toggle, FALSE, FALSE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
|
||||
gtk_widget_show (toggle);
|
||||
|
||||
g_signal_connect (toggle, "toggled",
|
||||
|
|
Loading…
Reference in New Issue