summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1ec6d8)
raw | patch | inline | side by side (parent: f1ec6d8)
author | cilix42 <cilix42@users.sourceforge.net> | |
Wed, 16 Jan 2008 10:54:24 +0000 (10:54 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Wed, 16 Jan 2008 10:54:24 +0000 (10:54 +0000) |
src/ui/dialog/align-and-distribute.cpp | patch | blob | history |
index 655a9428e404bbee295eeb5e3307b1282ee3acaa..4846158a712fa7faea9706d9e20214060971ab9d 100644 (file)
_combo.append_text(_("Drawing"));
_combo.append_text(_("Selection"));
- _combo.set_active(6);
+ _combo.set_active(prefs_get_int_attribute("dialogs.align", "align-to", 6));
_combo.signal_changed().connect(sigc::mem_fun(*this, &AlignAndDistribute::on_ref_change));
_anchorBox.pack_start(_anchorLabel);
}
void AlignAndDistribute::on_ref_change(){
-//Make blink the master
+
+ prefs_set_int_attribute("dialogs.align", "align-to", _combo.get_active_row_number());
+
+ //Make blink the master
}