summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2012-12-04 15:58:21 +0100
committerRadek Doulik <rodo@novell.com>2012-12-04 16:00:45 +0100
commitc349164824d7c4d467a7a9a9148a7cd6555e3684 (patch)
tree6bedbcef50c9f7459bcb3d41ae523c986a334b70 /sd
parent869031d702639852cac51cdb8306ff31420b3f3f (diff)
added Change picture menu item to graphic shape popup
Change-Id: I6e4927b847ca6990990be1075c8371404736e27e
Diffstat (limited to 'sd')
-rw-r--r--sd/sdi/_drvwsh.sdi5
-rw-r--r--sd/source/ui/app/popup2_tmpl.src1
-rw-r--r--sd/source/ui/view/drviews8.cxx1
3 files changed, 7 insertions, 0 deletions
diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi
index 5cbbefa2372e..98f153992480 100644
--- a/sd/sdi/_drvwsh.sdi
+++ b/sd/sdi/_drvwsh.sdi
@@ -61,6 +61,11 @@ interface DrawView
ExecMethod = FuTemporary ;
StateMethod = GetMenuState ;
]
+ SID_CHANGE_PICTURE
+ [
+ ExecMethod = FuTemporary ;
+ StateMethod = GetMenuState ;
+ ]
SID_SAVE_GRAPHIC
[
ExecMethod = FuTemporary ;
diff --git a/sd/source/ui/app/popup2_tmpl.src b/sd/source/ui/app/popup2_tmpl.src
index e3bcf7f8d265..4fb94040af2d 100644
--- a/sd/source/ui/app/popup2_tmpl.src
+++ b/sd/source/ui/app/popup2_tmpl.src
@@ -649,6 +649,7 @@
SEPARATOR
MN_STYLEDT
SEPARATOR
+ MenuItem { ITEM_CHANGE_PICTURE };
MenuItem { ITEM_SAVE_GRAPHIC };
MenuItem { ITEM_COMPRESS_GRAPHIC };
MenuItem { ITEM_EXTERNAL_EDIT };
diff --git a/sd/source/ui/view/drviews8.cxx b/sd/source/ui/view/drviews8.cxx
index 227a18f96ddc..ab297b7fbfad 100644
--- a/sd/source/ui/view/drviews8.cxx
+++ b/sd/source/ui/view/drviews8.cxx
@@ -153,6 +153,7 @@ void DrawViewShell::FuTemp01(SfxRequest& rReq)
}
break;
+ case SID_CHANGE_PICTURE:
case SID_INSERT_GRAPHIC:
{
SetCurrentFunction( FuInsertGraphic::Create( this, GetActiveWindow(), mpDrawView, GetDoc(), rReq ) );