~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/menus/image-menu.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
27
27
#include "file-menu.h"
28
28
#include "image-menu.h"
29
29
#include "plug-in-menus.h"
 
30
#include "window-menu.h"
30
31
 
31
32
 
32
33
void
33
34
image_menu_setup (GimpUIManager *manager,
34
35
                  const gchar   *ui_path)
35
36
{
 
37
  gchar *path;
 
38
 
36
39
  if (! strcmp (ui_path, "/dummy-menubar"))
37
40
    ui_path = "/dummy-menubar/image-popup";
38
41
 
39
42
  file_menu_setup (manager, ui_path);
40
43
  plug_in_menus_setup (manager, ui_path);
 
44
 
 
45
  path = g_strconcat (ui_path, "/View", NULL);
 
46
  window_menu_setup (manager, "view", path);
 
47
  g_free (path);
41
48
}