1
1
/* GIMP - The GNU Image Manipulation Program
2
2
* Copyright (C) 1995-1999 Spencer Kimball and Peter Mattis
4
* This program is free software; you can redistribute it and/or modify
4
* This program is free software: you can redistribute it and/or modify
5
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
6
* the Free Software Foundation; either version 3 of the License, or
7
7
* (at your option) any later version.
9
9
* This program is distributed in the hope that it will be useful,
12
12
* GNU General Public License for more details.
14
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
18
#include "config.h"
133
133
gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
134
134
GIMP_DISSOLVE_MODE, -1);
135
gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
136
GIMP_OVERLAY_MODE, -1);
137
gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
138
GIMP_GRAIN_MERGE_MODE, -1);
139
gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
140
GIMP_LIGHTEN_ONLY_MODE, -1);
136
gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
137
GIMP_ADDITION_MODE, -1);
139
gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
142
gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
143
GIMP_HARDLIGHT_MODE, -1);
145
gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
146
GIMP_DIVIDE_MODE, -1);
142
148
if (with_behind_mode)
178
184
const gchar *label)
180
186
GtkWidget *button;
182
187
GtkWidget *image;
185
189
button = gtk_button_new ();
187
hbox = gtk_hbox_new (FALSE, 6);
188
gtk_container_add (GTK_CONTAINER (button), hbox);
189
gtk_widget_show (hbox);
191
image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_BUTTON);
192
gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0);
193
gtk_widget_show (image);
195
lab = gtk_label_new_with_mnemonic (label);
196
gtk_label_set_mnemonic_widget (GTK_LABEL (lab), button);
197
gtk_box_pack_start (GTK_BOX (hbox), lab, TRUE, TRUE, 0);
198
gtk_widget_show (lab);
196
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
197
gtk_container_add (GTK_CONTAINER (button), hbox);
198
gtk_widget_show (hbox);
200
image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_BUTTON);
201
gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0);
202
gtk_widget_show (image);
204
lab = gtk_label_new_with_mnemonic (label);
205
gtk_label_set_mnemonic_widget (GTK_LABEL (lab), button);
206
gtk_box_pack_start (GTK_BOX (hbox), lab, TRUE, TRUE, 0);
207
gtk_widget_show (lab);
211
image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_BUTTON);
212
gtk_container_add (GTK_CONTAINER (button), image);
213
gtk_widget_show (image);