~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/ui/dialog/filter-effects-dialog.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:
1166
1166
void FilterEffectsDialog::FilterModifier::rename_filter()
1167
1167
{
1168
1168
    SPFilter* filter = get_selected_filter();
1169
 
    Gtk::Dialog m("", _dialog, true);
 
1169
    Gtk::Window *window = dynamic_cast<Gtk::Window *>(_dialog.get_vbox()->get_ancestor(GTK_TYPE_WINDOW));
 
1170
    Gtk::Dialog m("", *window, true);
1170
1171
    m.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
1171
1172
    m.add_button(_("_Rename"), Gtk::RESPONSE_OK);
1172
1173
    m.set_default_response(Gtk::RESPONSE_OK);
1843
1844
 
1844
1845
/*** FilterEffectsDialog ***/
1845
1846
 
1846
 
FilterEffectsDialog::FilterEffectsDialog() 
1847
 
    : Dialog ("dialogs.filtereffects", SP_VERB_DIALOG_FILTER_EFFECTS),
 
1847
FilterEffectsDialog::FilterEffectsDialog(Behavior::BehaviorFactory behavior_factory) 
 
1848
    : Dialog (behavior_factory, "dialogs.filtereffects", SP_VERB_DIALOG_FILTER_EFFECTS),
1848
1849
      _filter_modifier(*this),
1849
1850
      _primitive_list(*this),
1850
1851
      _add_primitive_type(FPConverter),