[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - include/svx sd/source
Caolán McNamara
caolanm at redhat.com
Mon May 25 07:06:41 PDT 2015
include/svx/svxcommands.h | 1 +
sd/source/ui/app/menuids_tmpl.src | 9 +++++++++
2 files changed, 10 insertions(+)
New commits:
commit d0059698e095e06ae17cb0b3ad3d985f8f3c441d
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon May 25 15:00:47 2015 +0100
impress: right click to insert image
Change-Id: I521f074bbd500b81d74be7e0e771bd49efc29c9c
(cherry picked from commit 67c3e2abf353c4893a4680f7a5b2d8c457ef18d1)
diff --git a/include/svx/svxcommands.h b/include/svx/svxcommands.h
index df3ddee..1b02754 100644
--- a/include/svx/svxcommands.h
+++ b/include/svx/svxcommands.h
@@ -81,6 +81,7 @@
#define CMD_SID_GALLERY_FORMATS ".uno:InsertGalleryPic"
#define CMD_SID_GRID_USE ".uno:GridUse"
#define CMD_SID_GRID_VISIBLE ".uno:GridVisible"
+#define CMD_SID_INSERT_GRAPHIC ".uno:InsertGraphic"
#define CMD_SID_INSERT_POSTIT ".uno:InsertAnnotation"
#define CMD_SID_EDIT_POSTIT ".uno:InsertAnnotation"
#define CMD_SID_REPLYTO_POSTIT ".uno:ReplyToAnnotation"
diff --git a/sd/source/ui/app/menuids_tmpl.src b/sd/source/ui/app/menuids_tmpl.src
index cea91ed..9ed590a 100644
--- a/sd/source/ui/app/menuids_tmpl.src
+++ b/sd/source/ui/app/menuids_tmpl.src
@@ -35,6 +35,14 @@
Text [ en-US ] = "~Distribution..." ; \
};
+#define MN_INSERT_GRAPHIC \
+ MenuItem\
+ {\
+ Identifier = SID_INSERT_GRAPHIC; \
+ HelpId = CMD_SID_INSERT_GRAPHIC; \
+ Text [ en-US ] = "Insert I~mage..." ; \
+ };
+
#define MN_CAPTUREPOINT \
MenuItem\
{\
@@ -168,6 +176,7 @@
#define MN_SLIDE_MENU \
MN_SELECT_BACKGROUND\
+ MN_INSERT_GRAPHIC\
MN_FORMAT_SLIDE\
MenuItem\
{\
More information about the Libreoffice-commits
mailing list