mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 11:37:14 +00:00
always build the doc-shooter; keeps it from bit-rotting.
2005-06-27 Sven Neumann <sven@gimp.org> * tools/Makefile.am: always build the doc-shooter; keeps it from bit-rotting. * tools/widgets.c: added GimpEnumLabel.
This commit is contained in:
parent
d9c4bdc4aa
commit
51897fdc73
|
@ -1,3 +1,10 @@
|
||||||
|
2005-06-27 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* tools/Makefile.am: always build the doc-shooter; keeps it from
|
||||||
|
bit-rotting.
|
||||||
|
|
||||||
|
* tools/widgets.c: added GimpEnumLabel.
|
||||||
|
|
||||||
2005-06-27 Sven Neumann <sven@gimp.org>
|
2005-06-27 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* libgimpwidgets/libgimpwidgets-sections.txt
|
* libgimpwidgets/libgimpwidgets-sections.txt
|
||||||
|
|
|
@ -21,7 +21,7 @@ LDADDS = \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(GTK_LIBS)
|
$(GTK_LIBS)
|
||||||
|
|
||||||
EXTRA_PROGRAMS = doc-shooter
|
noinst_PROGRAMS = doc-shooter
|
||||||
|
|
||||||
doc_shooter_SOURCES = \
|
doc_shooter_SOURCES = \
|
||||||
shadow.c \
|
shadow.c \
|
||||||
|
|
|
@ -374,6 +374,24 @@ create_enum_combo_box (void)
|
||||||
return new_widget_info ("gimp-enum-combo-box", vbox, SMALL);
|
return new_widget_info ("gimp-enum-combo-box", vbox, SMALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static WidgetInfo *
|
||||||
|
create_enum_label (void)
|
||||||
|
{
|
||||||
|
GtkWidget *vbox;
|
||||||
|
GtkWidget *label;
|
||||||
|
GtkWidget *align;
|
||||||
|
|
||||||
|
vbox = gtk_vbox_new (FALSE, 6);
|
||||||
|
align = gtk_alignment_new (0.5, 0.5, 0.5, 0.0);
|
||||||
|
label = gimp_enum_label_new (GIMP_TYPE_IMAGE_BASE_TYPE, GIMP_RGB);
|
||||||
|
gtk_container_add (GTK_CONTAINER (align), label);
|
||||||
|
gtk_box_pack_start_defaults (GTK_BOX (vbox), align);
|
||||||
|
gtk_box_pack_start (GTK_BOX (vbox),
|
||||||
|
gtk_label_new ("Enum Label"), FALSE, FALSE, 0);
|
||||||
|
|
||||||
|
return new_widget_info ("gimp-enum-label", vbox, SMALL);
|
||||||
|
}
|
||||||
|
|
||||||
static WidgetInfo *
|
static WidgetInfo *
|
||||||
create_file_entry (void)
|
create_file_entry (void)
|
||||||
{
|
{
|
||||||
|
@ -597,6 +615,7 @@ get_all_widgets (void)
|
||||||
retval = g_list_append (retval, create_color_selection ());
|
retval = g_list_append (retval, create_color_selection ());
|
||||||
retval = g_list_append (retval, create_dialog ());
|
retval = g_list_append (retval, create_dialog ());
|
||||||
retval = g_list_append (retval, create_enum_combo_box ());
|
retval = g_list_append (retval, create_enum_combo_box ());
|
||||||
|
retval = g_list_append (retval, create_enum_label ());
|
||||||
retval = g_list_append (retval, create_file_entry ());
|
retval = g_list_append (retval, create_file_entry ());
|
||||||
retval = g_list_append (retval, create_frame ());
|
retval = g_list_append (retval, create_frame ());
|
||||||
retval = g_list_append (retval, create_int_combo_box ());
|
retval = g_list_append (retval, create_int_combo_box ());
|
||||||
|
|
Loading…
Reference in a new issue