summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 04759e0)
raw | patch | inline | side by side (parent: 04759e0)
author | bryce <bryce@users.sourceforge.net> | |
Fri, 23 Feb 2007 06:04:58 +0000 (06:04 +0000) | ||
committer | bryce <bryce@users.sourceforge.net> | |
Fri, 23 Feb 2007 06:04:58 +0000 (06:04 +0000) |
when switching between windows.
src/dialogs/stroke-style.cpp | patch | blob | history |
index b0b510a012e717533e61dec23b52b21738a9a248..58505df97760153b8f5bc1c6f0409b0915e3de51 100644 (file)
sp_stroke_style_paint_update (spw);
}
-static void
-sp_stroke_style_widget_transientize_callback(Inkscape::Application *inkscape,
- SPDesktop *desktop,
- SPWidget *spw )
-{
- ink_markers_menu_update(spw);
-}
-
/**
* Gets the active stroke style property, then sets the appropriate color, alpha, gradient,
* pattern, etc. for the paint-selector.
}
+static void
+sp_stroke_style_widget_transientize_callback(Inkscape::Application *inkscape,
+ SPDesktop *desktop,
+ SPWidget *spw )
+{
+// TODO: Either of these will cause crashes sometimes
+// sp_stroke_style_line_update( SP_WIDGET(spw), desktop ? sp_desktop_selection(desktop) : NULL);
+// ink_markers_menu_update(spw);
+}
+
/**
* Creates a copy of the marker named mname, determines its visible and renderable
* area in menu_id's bounding box, and then renders it. This allows us to fill in
// Also update the marker dropdown menus, so the document's markers
// show up at the top of the menu
+// sp_stroke_style_line_update( SP_WIDGET(spw), desktop ? sp_desktop_selection(desktop) : NULL);
ink_markers_menu_update(SP_WIDGET(spw));
Inkscape::Selection *selection = sp_desktop_selection(desktop);
gchar* b = g_strdup(p);
b[c] = '\0';
-
SPDesktop *desktop = inkscape_active_desktop();
SPDocument *doc = sp_desktop_document(desktop);
SPObject *marker = doc->getObjectById(b);