diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2019-06-24 18:38:37 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2019-06-24 18:38:37 +0000 |
| commit | cdef7195b54dffdf6bb805e22e117387e35c6341 (patch) | |
| tree | ddfb1c9c6ba425b244cf9730bf43b05efb987977 /src/ui/dialog/styledialog.cpp | |
| parent | Fixes for scrolling on selectors and style dialogs (diff) | |
| download | inkscape-cdef7195b54dffdf6bb805e22e117387e35c6341.tar.gz inkscape-cdef7195b54dffdf6bb805e22e117387e35c6341.zip | |
Fix coding style
Diffstat (limited to 'src/ui/dialog/styledialog.cpp')
| -rw-r--r-- | src/ui/dialog/styledialog.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/ui/dialog/styledialog.cpp b/src/ui/dialog/styledialog.cpp index 1427b4964..4af56346d 100644 --- a/src/ui/dialog/styledialog.cpp +++ b/src/ui/dialog/styledialog.cpp @@ -166,9 +166,10 @@ void StyleDialog::_nodeRemoved(Inkscape::XML::Node &repr) _readStyleElement(); } -void StyleDialog::_nodeChanged(Inkscape::XML::Node &object) { +void StyleDialog::_nodeChanged(Inkscape::XML::Node &object) +{ g_debug("StyleDialog::_nodeChanged"); - _readStyleElement(); + _readStyleElement(); } /* void @@ -961,7 +962,7 @@ bool StyleDialog::_addRow(GdkEventButton *evt, Glib::RefPtr<Gtk::TreeStore> stor Glib::ustring selector, gint pos) { g_debug("StyleDialog::_addRow"); - + if (evt->type == GDK_BUTTON_RELEASE && evt->button == 1) { Gtk::TreeIter iter = store->append(); Gtk::TreeModel::Path path = (Gtk::TreeModel::Path)iter; @@ -1097,7 +1098,7 @@ StyleDialog::_startValueEdit(Gtk::CellEditable* cell, const Glib::ustring& path, void StyleDialog::_startNameEdit(Gtk::CellEditable *cell, const Glib::ustring &path) { g_debug("StyleDialog::_startNameEdit"); - + _scroollock = true; Glib::RefPtr<Gtk::ListStore> completionModel = Gtk::ListStore::create(_mCSSData); Glib::RefPtr<Gtk::EntryCompletion> entry_completion = Gtk::EntryCompletion::create(); @@ -1171,7 +1172,7 @@ void StyleDialog::_valueEdited(const Glib::ustring &path, const Glib::ustring &v Glib::RefPtr<Gtk::TreeStore> store) { g_debug("StyleDialog::_valueEdited"); - + _scroollock = true; Gtk::TreeModel::Row row = *store->get_iter(path); @@ -1194,7 +1195,7 @@ void StyleDialog::_valueEdited(const Glib::ustring &path, const Glib::ustring &v void StyleDialog::_activeToggled(const Glib::ustring &path, Glib::RefPtr<Gtk::TreeStore> store) { g_debug("StyleDialog::_activeToggled"); - + _scroollock = true; Gtk::TreeModel::Row row = *store->get_iter(path); if (row) { |
