value=strprintf("%s",App::predefined_size.c_str());
return true;
}
-
+
return synfigapp::Settings::get_value(key,value);
}
ret.push_back("custom_filename_prefix");
ret.push_back("preferred_x_size");
ret.push_back("preferred_y_size");
- ret.push_back("predefined_size");
+ ret.push_back("predefined_size");
return ret;
}
};
ACCEL("<Control>0", "<Actions>//quality-10" );
ACCEL("<Control>z", "<Actions>//undo" );
ACCEL("<Control>r", "<Actions>//redo" );
- ACCEL("Delete", "<Actions>//action-LayerRemove" );
+ ACCEL2(Gtk::AccelKey(GDK_Delete,Gdk::CONTROL_MASK, "<Actions>//action-LayerRemove" ));
ACCEL2(Gtk::AccelKey('(',Gdk::CONTROL_MASK, "<Actions>//decrease-low-res-pixel-size" ));
ACCEL2(Gtk::AccelKey(')',Gdk::CONTROL_MASK, "<Actions>//increase-low-res-pixel-size" ));
ACCEL2(Gtk::AccelKey('(',Gdk::MOD1_MASK|Gdk::CONTROL_MASK, "<Actions>//amount-dec" ));
delete auto_recover;
delete about;
-
+
toolbox->hide();
// studio::App::iteration(false);
try { Glib::spawn_async(".", command_line, Glib::SPAWN_SEARCH_PATH); }
// Failed, move on to the next one
catch(Glib::SpawnError& exception){ continue; }
- return true; // No exception means we succeeded!
+ return true; // No exception means we succeeded!
}
}
if (warnings != "")
dialog_warning_blocking(_("Warnings"), strprintf("%s:\n\n%s", _("Warnings"), warnings.c_str()));
-
+
if (as.find(custom_filename_prefix.c_str()) != 0)
add_recent_file(as);