layer-properties.cpp revision 703bff6ff66a4eacb659a2edc2d4394290e459b4
/**
*
* \brief Dialog for renaming layers
*
* Author:
* Bryce W. Harrington <bryce@bryceharrington.com>
* Andrius R. <knutux@gmail.com>
*
* Copyright (C) 2004 Bryce Harrington
* Copyright (C) 2006 Andrius R.
*
* Released under GNU GPL. Read the file 'COPYING' for more information
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "inkscape.h"
#include "desktop.h"
#include "document.h"
#include "message-stack.h"
#include "desktop-handles.h"
#include "sp-object.h"
#include "sp-item.h"
#include "layer-properties.h"
namespace Inkscape {
namespace UI {
namespace Dialogs {
{
// Layer name widgets
// Buttons
_close_button.set_use_stock(true);
_apply_button.set_use_underline(true);
true
)
);
}
}
{
dialog->property_destroy_with_parent() = true;
}
void
{
_close();
}
void
{
destroy_();
false
)
);
}
void
return;
}
_position_visible = true;
}
/** Formats the label for a given layer row
*/
) {
}
}
);
// TRANSLATORS: This means "The layer has been renamed"
}
}
if (dialog._position_visible) {
}
}
}
if (desktop) {
}
if (_desktop) {
}
}
if (layer) {
}
if (_layer) {
}
}
} // namespace
} // namespace
} // namespace
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :