summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cac261a)
raw | patch | inline | side by side (parent: cac261a)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 17 Jan 2007 23:39:15 +0000 (23:39 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 17 Jan 2007 23:39:15 +0000 (23:39 +0000) |
src/dialogs/layers-panel.cpp | patch | blob | history |
index 4bd8aebb503f840eaea128685e625fdcfe51dcf7..32a52a3737ecbeee89810d1e8662438d6f0f090b 100644 (file)
if ( inTree->repr ) {
SPCSSAttr *css = sp_repr_css_attr(inTree->repr, "style");
if ( css ) {
+ _opacityConnection.block();
_opacity.set_value( sp_repr_css_double_property( css, "opacity", 1.0 ) * 100 );
+ _opacityConnection.unblock();
}
}
}
if ( _desktop && layer && !_opacityConnection.blocked() ) {
_opacityConnection.block();
-
Gtk::Adjustment* adj = _opacity.get_adjustment();
SPCSSAttr *css = sp_repr_css_attr_new();
}
g_signal_connect( G_OBJECT(INKSCAPE), "activate_desktop", G_CALLBACK( layers_panel_activated ), this );
-
-
setDesktop( targetDesktop );
-
-
show_all_children();
restorePanelPrefs();