diff options
| author | Aaron Spike <aaron@ekips.org> | 2006-04-19 13:00:36 +0000 |
|---|---|---|
| committer | acspike <acspike@users.sourceforge.net> | 2006-04-19 13:00:36 +0000 |
| commit | 8bf3a6c0f4638ddaabe54b6c9949f969bb5f2f9b (patch) | |
| tree | 5dfbb4cbad9875d0ffa1c9c83fd3644b224df414 /src/ui/dialog/document-properties.cpp | |
| parent | A fix for [inkscape-Bugs-1296129] (diff) | |
| download | inkscape-8bf3a6c0f4638ddaabe54b6c9949f969bb5f2f9b.tar.gz inkscape-8bf3a6c0f4638ddaabe54b6c9949f969bb5f2f9b.zip | |
tweaking for bbyak
(bzr r544)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
| -rw-r--r-- | src/ui/dialog/document-properties.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 4d7b8abc7..9a9deac9f 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -22,6 +22,7 @@ #include "ui/widget/color-picker.h" #include "ui/widget/scalar-unit.h" +#include "ui/widget/button.h" #include "xml/node-event-vector.h" #include "helper/units.h" @@ -193,7 +194,8 @@ DocumentProperties::build_page() "bordercolor", "borderopacity", _wr); _rcb_shad.init (_("_Show border shadow"), _("If set, page border shows a shadow on its right and lower side"), "inkscape:showpageshadow", _wr, false); _rum_deflt.init (_("Default _units:"), "inkscape:document-units", _wr); - Gtk::Button* fit_canv = manage(new Gtk::Button(_("Fit canvas to current selection"))); + Inkscape::UI::Widget::Button* fit_canv = manage(new Inkscape::UI::Widget::Button(_("Fit canvas to selection"), + _("Fit the canvas to the current selection or fit to the drawing when there is no selection."))); fit_canv->signal_clicked().connect(sigc::ptr_fun(fire_fit_canvas_to_selection_or_drawing)); Gtk::Label* label_gen = manage (new Gtk::Label); label_gen->set_markup (_("<b>General</b>")); |
