Commit c9482821 authored by Sven Neumann's avatar Sven Neumann
Browse files

mostly header cleanup and i18n


--Sven
parent a4025e05
......@@ -26,6 +26,7 @@
#include "gimplut.h"
#include "lut_funcs.h"
#include "config.h"
#include "libgimp/gimpintl.h"
......
......@@ -27,6 +27,7 @@
#include "gimpui.h"
#include "interface.h"
#include "config.h"
#include "libgimp/gimpsizeentry.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h"
......
......@@ -26,6 +26,7 @@
#include "parasitelist.h"
#include "undo.h"
#include "config.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -27,6 +27,7 @@
#include "gimpui.h"
#include "interface.h"
#include "config.h"
#include "libgimp/gimpsizeentry.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h"
......
......@@ -33,6 +33,7 @@
#include "pathsP.h"
#include "gimprc.h"
#include "config.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpintl.h"
#include "libgimp/gimplimits.h"
......
......@@ -35,7 +35,7 @@
#include "gimpsignal.h"
#include "gimppreviewcache.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#include "libgimp/parasite.h"
......
......@@ -15,6 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include "appenv.h"
#include "gdisplay.h"
#include "libgimp/gimpintl.h"
......
......@@ -30,6 +30,7 @@
#include "tools.h"
#include "undo.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#include "tile_manager_pvt.h"
......
......@@ -43,6 +43,7 @@
#include "gradient_select.h"
#include "session.h"
#include "config.h"
#include "libgimp/gimpintl.h"
static void gradient_change_callbacks (GradientSelect *gsp,
......
......@@ -25,6 +25,7 @@
#include "brush_edit.h"
#include "gimpui.h"
#include "config.h"
#include "libgimp/gimpintl.h"
static void brush_edit_close_callback (GtkWidget *, gpointer);
......
......@@ -34,6 +34,7 @@
#include "paint_options.h"
#include "session.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#define MIN_CELL_SIZE 25
......
......@@ -35,6 +35,7 @@
#include "paint_funcs.h"
#include "undo.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#include "pixmaps/eye.xbm"
......
......@@ -56,6 +56,7 @@
#include "tools.h"
#include "undo.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#define return_if_no_display(gdisp) \
......
......@@ -20,6 +20,7 @@
#include "gimpui.h"
#include "gdisplay.h"
#include "config.h"
#include "libgimp/gimpchainbutton.h"
#include "libgimp/gimplimits.h"
#include "libgimp/gimpsizeentry.h"
......
......@@ -43,6 +43,7 @@
#include "gradient_select.h"
#include "session.h"
#include "config.h"
#include "libgimp/gimpintl.h"
static void gradient_change_callbacks (GradientSelect *gsp,
......
......@@ -56,6 +56,7 @@
#include "tools.h"
#include "undo.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#define return_if_no_display(gdisp) \
......
......@@ -26,6 +26,7 @@
#include "indicator_area.h"
#include "pattern_select.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#define CELL_SIZE 23 /* The size of the previews */
......
......@@ -26,6 +26,7 @@
#include "layer_select.h"
#include "layers_dialogP.h"
#include "config.h"
#include "libgimp/gimpintl.h"
......
......@@ -38,6 +38,7 @@
#include "resize.h"
#include "undo.h"
#include "config.h"
#include "libgimp/gimplimits.h"
#include "libgimp/gimpsizeentry.h"
......
......@@ -540,6 +540,13 @@ static GimpItemFactoryEntry image_entries[] =
{ { "/Tools/---", NULL, NULL, 0, "<Separator>" },
NULL, NULL },
{ { N_("/Tools/Select Tools"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/Tools/Transform Tools"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/Tools/Paint Tools"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
/* <Image>/Dialogs */
{ { N_("/Dialogs"), NULL, NULL, 0, "<Branch>" },
......@@ -1607,8 +1614,6 @@ menus_init (void)
GtkWidget *menu_item;
gchar *filename;
gint i;
GimpItemFactoryEntry tool_separator =
{ { "/Tools/---", NULL, NULL, 0, "<Separator>" }, NULL, NULL };
if (! initialize)
return;
......@@ -1690,13 +1695,6 @@ menus_init (void)
for (i = 0; i < num_tools; i++)
{
/* insert separators between tool_groups */
if (tool_info[i].tool_id == TEXT ||
tool_info[i].tool_id == BUCKET_FILL ||
tool_info[i].tool_id == MEASURE)
{
menus_create_item (image_factory, &tool_separator, NULL, 2);
}
/* FIXME this need to use access functions to check a flag */
if (tool_info[i].menu_path)
menus_tools_create (&tool_info[i]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment