mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-05 21:02:42 +02:00
app, modules: add some identifiers for demo scripts.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
#include "libgimpbase/gimpbase.h"
|
||||
#include "libgimpwidgets/gimpwidgets.h"
|
||||
#include "libgimpwidgets/gimpwidgets-private.h"
|
||||
|
||||
#include "widgets-types.h"
|
||||
|
||||
@@ -223,6 +224,7 @@ gimp_histogram_editor_init (GimpHistogramEditor *editor)
|
||||
}
|
||||
|
||||
editor->toggle = gtk_check_button_new_with_label (_("Compute unique colors:"));
|
||||
gimp_widget_set_identifier (editor->toggle, "toggle-compute-unique-colors");
|
||||
gimp_label_set_attributes (GTK_LABEL (gtk_bin_get_child (GTK_BIN (editor->toggle))),
|
||||
PANGO_ATTR_SCALE, PANGO_SCALE_SMALL,
|
||||
-1);
|
||||
|
@@ -24,6 +24,7 @@
|
||||
#include "libgimpconfig/gimpconfig.h"
|
||||
#include "libgimpmodule/gimpmodule.h"
|
||||
#include "libgimpwidgets/gimpwidgets.h"
|
||||
#include "libgimpwidgets/gimpwidgets-private.h"
|
||||
|
||||
#include "libgimp/libgimp-intl.h"
|
||||
|
||||
@@ -191,6 +192,7 @@ colorsel_cmyk_init (ColorselCmyk *module)
|
||||
-1);
|
||||
gtk_grid_attach (GTK_GRID (grid), module->tic_label, 1, 4, 3, 1);
|
||||
gtk_widget_set_visible (module->tic_label, TRUE);
|
||||
gimp_widget_set_identifier (module->tic_label, "total-ink-coverage");
|
||||
|
||||
module->name_label = gtk_label_new (NULL);
|
||||
gtk_label_set_xalign (GTK_LABEL (module->name_label), 0.0);
|
||||
|
Reference in New Issue
Block a user