diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-05-29 13:44:16 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-06-02 09:50:17 +0000 |
| commit | 1dcbdd9b9d6f1db457878515fe041bf360ead042 (patch) | |
| tree | 5dbc01be36134cbacce67d77b59b8a0259d0c2be /src/ui/widget/ink-flow-box.cpp | |
| parent | Fixing coding style (diff) | |
| download | inkscape-1dcbdd9b9d6f1db457878515fe041bf360ead042.tar.gz inkscape-1dcbdd9b9d6f1db457878515fe041bf360ead042.zip | |
Add CSS and remove XML toggler button
Diffstat (limited to 'src/ui/widget/ink-flow-box.cpp')
| -rw-r--r-- | src/ui/widget/ink-flow-box.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widget/ink-flow-box.cpp b/src/ui/widget/ink-flow-box.cpp index c753a41da..5b108ebb6 100644 --- a/src/ui/widget/ink-flow-box.cpp +++ b/src/ui/widget/ink-flow-box.cpp @@ -30,7 +30,7 @@ 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(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"; @@ -38,8 +38,8 @@ InkFlowBox::InkFlowBox(const gchar *name) tbutton->set_image(*sp_get_icon_image(iconname, Gtk::ICON_SIZE_MENU)); tbutton->signal_toggled().connect( sigc::bind<Gtk::ToggleButton *>(sigc::mem_fun(*this, &InkFlowBox::on_global_toggle), tbutton)); - _controller.pack_start(*tbutton); - tbutton->show(); + //_controller.pack_start(*tbutton); + //tbutton->show(); showing = 0; sensitive = true; } |
