diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-05-29 13:46:40 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-06-02 09:50:17 +0000 |
| commit | 4ee33795749b46cd4e0b8c84ab336b7cb8d18faa (patch) | |
| tree | b99a47f437a155d9e7cd1b36e9096f211004bb54 /src/ui/widget/ink-flow-box.cpp | |
| parent | Add CSS and remove XML toggler button (diff) | |
| download | inkscape-4ee33795749b46cd4e0b8c84ab336b7cb8d18faa.tar.gz inkscape-4ee33795749b46cd4e0b8c84ab336b7cb8d18faa.zip | |
fix coding style
Diffstat (limited to 'src/ui/widget/ink-flow-box.cpp')
| -rw-r--r-- | src/ui/widget/ink-flow-box.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/widget/ink-flow-box.cpp b/src/ui/widget/ink-flow-box.cpp index 5b108ebb6..6b2530429 100644 --- a/src/ui/widget/ink-flow-box.cpp +++ b/src/ui/widget/ink-flow-box.cpp @@ -30,7 +30,8 @@ InkFlowBox::InkFlowBox(const gchar *name) tbutton->set_always_show_image(true); _flowbox.set_selection_mode(Gtk::SelectionMode::SELECTION_NONE); Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - tbutton->set_active(true);// commented for furter use prefs->getBool(Glib::ustring("/dialogs/") + get_name() + Glib::ustring("/flowbox/lock"), true)); + tbutton->set_active(true); // commented for furter use prefs->getBool(Glib::ustring("/dialogs/") + get_name() + + // Glib::ustring("/flowbox/lock"), true)); Glib::ustring iconname = "object-unlocked"; if (tbutton->get_active()) { iconname = "object-locked"; @@ -39,7 +40,7 @@ InkFlowBox::InkFlowBox(const gchar *name) tbutton->signal_toggled().connect( sigc::bind<Gtk::ToggleButton *>(sigc::mem_fun(*this, &InkFlowBox::on_global_toggle), tbutton)); //_controller.pack_start(*tbutton); - //tbutton->show(); + // tbutton->show(); showing = 0; sensitive = true; } |
