summaryrefslogtreecommitdiffstats
path: root/src/ui/context-menu.cpp
diff options
context:
space:
mode:
authorgustav_b <gustav_b@users.sourceforge.net>2007-09-20 22:21:16 +0000
committergustav_b <gustav_b@users.sourceforge.net>2007-09-20 22:21:16 +0000
commit024385f2a04f6ae680fa949e544ec50778293f8d (patch)
treec3124a2e8391982925fe57678248647294d13b50 /src/ui/context-menu.cpp
parentReplace Reihenfolge with Ordnung. Fixes 1798139. (diff)
downloadinkscape-024385f2a04f6ae680fa949e544ec50778293f8d.tar.gz
inkscape-024385f2a04f6ae680fa949e544ec50778293f8d.zip
Add functions for showing a specific notebook page in the F&S dialog,
replaced the use of the old sp_object_properties_{fill,stroke} with them. (bzr r3780)
Diffstat (limited to 'src/ui/context-menu.cpp')
-rw-r--r--src/ui/context-menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/context-menu.cpp b/src/ui/context-menu.cpp
index 20e4f7483..cdd71c410 100644
--- a/src/ui/context-menu.cpp
+++ b/src/ui/context-menu.cpp
@@ -17,6 +17,7 @@
#include "../xml/repr.h"
#include "desktop.h"
#include "document.h"
+#include "ui/dialog/dialog-manager.h"
static void sp_object_type_menu(GType type, SPObject *object, SPDesktop *desktop, GtkMenu *menu);
@@ -50,7 +51,6 @@ sp_object_menu(SPObject *object, SPDesktop *desktop, GtkMenu *menu)
#include "dialogs/item-properties.h"
#include "dialogs/object-attributes.h"
-#include "dialogs/object-properties.h"
#include "sp-path.h"
@@ -319,7 +319,7 @@ sp_shape_fill_settings(GtkMenuItem *menuitem, SPItem *item)
sp_desktop_selection(desktop)->set(item);
}
- sp_object_properties_dialog();
+ desktop->_dlg_mgr->showDialog("FillAndStroke");
}
static void