mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
changed description of GIMP_CLONE_ALIGN_NO enum value.
2005-12-16 Sven Neumann <sven@gimp.org> * app/paint/paint-enums.[ch]: changed description of GIMP_CLONE_ALIGN_NO enum value. * app/tools/gimpclonetool.c (gimp_clone_options_gui): use a combo box for the align mode.
This commit is contained in:
parent
493cd140f8
commit
6a0267b65e
|
@ -1,3 +1,11 @@
|
|||
2005-12-16 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/paint/paint-enums.[ch]: changed description of
|
||||
GIMP_CLONE_ALIGN_NO enum value.
|
||||
|
||||
* app/tools/gimpclonetool.c (gimp_clone_options_gui): use a combo
|
||||
box for the align mode.
|
||||
|
||||
2005-12-14 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpbase/gimpprotocol.[ch]: declare gp_params_destroy() in
|
||||
|
|
|
@ -22,7 +22,7 @@ gimp_clone_align_mode_get_type (void)
|
|||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_CLONE_ALIGN_NO, N_("Non-aligned"), NULL },
|
||||
{ GIMP_CLONE_ALIGN_NO, N_("None"), NULL },
|
||||
{ GIMP_CLONE_ALIGN_YES, N_("Aligned"), NULL },
|
||||
{ GIMP_CLONE_ALIGN_REGISTERED, N_("Registered"), NULL },
|
||||
{ GIMP_CLONE_ALIGN_FIXED, N_("Fixed"), NULL },
|
||||
|
|
|
@ -41,7 +41,7 @@ GType gimp_clone_align_mode_get_type (void) G_GNUC_CONST;
|
|||
|
||||
typedef enum /*< pdb-skip >*/
|
||||
{
|
||||
GIMP_CLONE_ALIGN_NO, /*< desc="Non-aligned" >*/
|
||||
GIMP_CLONE_ALIGN_NO, /*< desc="None" >*/
|
||||
GIMP_CLONE_ALIGN_YES, /*< desc="Aligned" >*/
|
||||
GIMP_CLONE_ALIGN_REGISTERED, /*< desc="Registered" >*/
|
||||
GIMP_CLONE_ALIGN_FIXED /*< desc="Fixed" >*/
|
||||
|
|
|
@ -289,14 +289,15 @@ gimp_clone_options_gui (GimpToolOptions *tool_options)
|
|||
GObject *config = G_OBJECT (tool_options);
|
||||
GtkWidget *vbox;
|
||||
GtkWidget *frame;
|
||||
GtkWidget *hbox;
|
||||
GtkWidget *button;
|
||||
GtkWidget *hbox;
|
||||
GtkWidget *table;
|
||||
GtkWidget *combo;
|
||||
|
||||
vbox = gimp_paint_options_gui (tool_options);
|
||||
|
||||
frame = gimp_prop_enum_radio_frame_new (config, "clone-type",
|
||||
_("Source"),
|
||||
0, 0);
|
||||
_("Source"), 0, 0);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
|
||||
gtk_widget_show (frame);
|
||||
|
||||
|
@ -307,11 +308,15 @@ gimp_clone_options_gui (GimpToolOptions *tool_options)
|
|||
hbox = gimp_pattern_box_new (NULL, GIMP_CONTEXT (tool_options), 2);
|
||||
gimp_enum_radio_frame_add (GTK_FRAME (frame), hbox, GIMP_PATTERN_CLONE);
|
||||
|
||||
frame = gimp_prop_enum_radio_frame_new (config, "align-mode",
|
||||
_("Alignment"),
|
||||
0, 0);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
|
||||
gtk_widget_show (frame);
|
||||
table = gtk_table_new (1, 2, FALSE);
|
||||
gtk_table_set_col_spacings (GTK_TABLE (table), 2);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);
|
||||
gtk_widget_show (table);
|
||||
|
||||
combo = gimp_prop_enum_combo_box_new (config, "align-mode", 0, 0);
|
||||
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
|
||||
_("Alignment:"), 0.0, 0.5,
|
||||
combo, 1, FALSE);
|
||||
|
||||
return vbox;
|
||||
}
|
||||
|
|
|
@ -289,14 +289,15 @@ gimp_clone_options_gui (GimpToolOptions *tool_options)
|
|||
GObject *config = G_OBJECT (tool_options);
|
||||
GtkWidget *vbox;
|
||||
GtkWidget *frame;
|
||||
GtkWidget *hbox;
|
||||
GtkWidget *button;
|
||||
GtkWidget *hbox;
|
||||
GtkWidget *table;
|
||||
GtkWidget *combo;
|
||||
|
||||
vbox = gimp_paint_options_gui (tool_options);
|
||||
|
||||
frame = gimp_prop_enum_radio_frame_new (config, "clone-type",
|
||||
_("Source"),
|
||||
0, 0);
|
||||
_("Source"), 0, 0);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
|
||||
gtk_widget_show (frame);
|
||||
|
||||
|
@ -307,11 +308,15 @@ gimp_clone_options_gui (GimpToolOptions *tool_options)
|
|||
hbox = gimp_pattern_box_new (NULL, GIMP_CONTEXT (tool_options), 2);
|
||||
gimp_enum_radio_frame_add (GTK_FRAME (frame), hbox, GIMP_PATTERN_CLONE);
|
||||
|
||||
frame = gimp_prop_enum_radio_frame_new (config, "align-mode",
|
||||
_("Alignment"),
|
||||
0, 0);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
|
||||
gtk_widget_show (frame);
|
||||
table = gtk_table_new (1, 2, FALSE);
|
||||
gtk_table_set_col_spacings (GTK_TABLE (table), 2);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);
|
||||
gtk_widget_show (table);
|
||||
|
||||
combo = gimp_prop_enum_combo_box_new (config, "align-mode", 0, 0);
|
||||
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
|
||||
_("Alignment:"), 0.0, 0.5,
|
||||
combo, 1, FALSE);
|
||||
|
||||
return vbox;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue