summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f425e44)
raw | patch | inline | side by side (parent: f425e44)
author | gustav_b <gustav_b@users.sourceforge.net> | |
Mon, 10 Sep 2007 17:40:26 +0000 (17:40 +0000) | ||
committer | gustav_b <gustav_b@users.sourceforge.net> | |
Mon, 10 Sep 2007 17:40:26 +0000 (17:40 +0000) |
DockBehavior dialogs.
src/ui/dialog/dialog.cpp | patch | blob | history | |
src/ui/dialog/dock-behavior.cpp | patch | blob | history |
index a0557827cc200220ecc6ddaf22b44680744b308e..fe1a43e22784d78360c76d8cdfb95d5f84b7c7f4 100644 (file)
--- a/src/ui/dialog/dialog.cpp
+++ b/src/ui/dialog/dialog.cpp
@@ -227,7 +227,6 @@ Dialog::Dialog(Behavior::BehaviorFactory behavior_factory, const char *prefs_pat
}
read_geometry();
- present();
}
Dialog::~Dialog()
index 5f600db46b8b49e693a3415b9c271a0d5ad8b705..ad9b19a56b86385f20e11ccb8c3c3ebbf37a72bb 100644 (file)
DockBehavior::_onHide()
{
_dialog.save_geometry();
+ _dialog._user_hidden = true;
prefs_set_int_attribute (_dialog._prefs_path, "state", _dock_item.getPrevState());
}