~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/ui/dialog/document-metadata.cpp

  • Committer: gustav_b
  • Date: 2007-08-29 21:27:07 UTC
  • Revision ID: gustav_b@users.sourceforge.net-20070829212707-xvg87a2oqejqioxv
Dockable dialogs patch applied 
(https://sourceforge.net/tracker/?func=detail&atid=604308&aid=1688508&group_id=93438)

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
 
64
64
 
65
65
DocumentMetadata*
66
 
DocumentMetadata::create()
 
66
DocumentMetadata::create(Behavior::BehaviorFactory behavior_factory)
67
67
{
68
68
    if (_instance) return _instance;
69
 
    _instance = new DocumentMetadata;
 
69
    _instance = new DocumentMetadata(behavior_factory);
70
70
    _instance->init();
71
71
    return _instance;
72
72
}
81
81
    }
82
82
}
83
83
 
84
 
DocumentMetadata::DocumentMetadata() 
85
 
    : Dialog ("dialogs.documentmetadata", SP_VERB_DIALOG_METADATA),
 
84
DocumentMetadata::DocumentMetadata(Behavior::BehaviorFactory behavior_factory) 
 
85
    : Dialog (behavior_factory, "dialogs.documentmetadata", SP_VERB_DIALOG_METADATA),
86
86
      _page_metadata1(1, 1), _page_metadata2(1, 1),
87
87
      _prefs_path("dialogs.documentmetadata")
88
88
{