b=255151/262304, landing changes that got half-merged to trunk from aviary; smoketest fix; r=vladimir,a=ben

This commit is contained in:
vladimir%pobox.com 2004-10-07 00:11:25 +00:00
Родитель 955ecffd8d
Коммит 71e8e8f3b6
2 изменённых файлов: 15 добавлений и 0 удалений

Просмотреть файл

@ -698,6 +698,18 @@ var BookmarksCommand = {
},
importBookmarks: function ()
{
// XXX: ifdef it to be non-modal (non-"sheet") on mac (see bug 259039)
var features = "modal,centerscreen,chrome,resizable=no";
window.fromFile = false;
window.openDialog("chrome://browser/content/migration/migration.xul", "migration", features, "bookmarks");
if(window.fromFile)
{
this.importBookmarksFromFile();
}
},
importBookmarksFromFile: function ()
{
///transaction...
try {

Просмотреть файл

@ -3,6 +3,7 @@
<!ENTITY importFrom.label "Import Options, Bookmarks, History, Passwords and other data from:">
<!ENTITY importFromUnix.label "Import Preferences, Bookmarks, History, Passwords and other data from:">
<!ENTITY importFromBookmarks.label "Import Bookmarks from:">
<!ENTITY importFromIE.label "Microsoft Internet Explorer">
<!ENTITY importFromIE.accesskey "M">
@ -30,6 +31,8 @@
<!ENTITY importFromEpiphany.accesskey "E">
<!ENTITY importFromGaleon.label "Galeon">
<!ENTITY importFromGaleon.accesskey "G">
<!ENTITY importFromFile.label "From File">
<!ENTITY importFromFile.accesskey "F">
<!ENTITY importSource.title "Import Settings and Data From">
<!ENTITY importItems.title "Items to Import">