зеркало из https://github.com/mozilla/gecko-dev.git
Add a dependency for resources-translations
This commit is contained in:
Родитель
9828e8d8f5
Коммит
ff6af0bd69
|
@ -483,7 +483,7 @@ BASIC_LIBS += \
|
|||
|
||||
ifdef MOZ_SMARTUPDATE
|
||||
BASIC_LIBS += $(DIST)/lib/libsoftupdate.a \
|
||||
$(DIST)/lib/libprgrss.a \
|
||||
$(DIST)/lib/libprgrss.a \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
|
@ -1157,7 +1157,7 @@ e_kit_resources.h: e_kit.ad
|
|||
s/ /\\/g;s/\(.*\)/ "\1"/;s/^ *"\\"$$//' >> $@
|
||||
@echo ';' >> $@
|
||||
|
||||
$(OBJDIR)/Netscape-nis-export.ad $(OBJDIR)/Netscape-export.ad: Makefile resources versionn.h strs make-resources $(LOCALE_MAP)
|
||||
$(OBJDIR)/Netscape-nis-export.ad $(OBJDIR)/Netscape-export.ad: Makefile resources resources-translations versionn.h strs make-resources $(LOCALE_MAP)
|
||||
@./make-resources $@ Netscape Netscape versionn.h strs resources $(MOZ_USER_DIR) "" export $(LOCALES)
|
||||
|
||||
#######################################################################
|
||||
|
|
|
@ -493,7 +493,7 @@ BASIC_LIBS += \
|
|||
|
||||
ifdef MOZ_SMARTUPDATE
|
||||
BASIC_LIBS += $(DIST)/lib/libsoftupdate.a \
|
||||
$(DIST)/lib/libprgrss.a \
|
||||
$(DIST)/lib/libprgrss.a \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
|
@ -1182,7 +1182,7 @@ e_kit_resources.h: e_kit.ad
|
|||
s/ /\\/g;s/\(.*\)/ "\1"/;s/^ *"\\"$$//' >> $@
|
||||
@echo ';' >> $@
|
||||
|
||||
$(OBJDIR)/Netscape-nis-export.ad $(OBJDIR)/Netscape-export.ad: Makefile resources versionn.h strs make-resources $(LOCALE_MAP)
|
||||
$(OBJDIR)/Netscape-nis-export.ad $(OBJDIR)/Netscape-export.ad: Makefile resources resources-translations versionn.h strs make-resources $(LOCALE_MAP)
|
||||
@$(srcdir)/make-resources $@ Netscape Netscape $(srcdir)/versionn.h $(srcdir)/strs $(srcdir)/resources $(MOZ_USER_DIR) "" export $(LOCALES)
|
||||
|
||||
#######################################################################
|
||||
|
|
|
@ -471,7 +471,8 @@ XFE_RDFTreeView::notify(HT_Resource n, HT_Event whatHappened)
|
|||
D(debugEvent(n, whatHappened,"RTV"););
|
||||
switch (whatHappened) {
|
||||
case HT_EVENT_NODE_ADDED:
|
||||
add_row(n);
|
||||
updateRoot();
|
||||
// add_row(n);
|
||||
break;
|
||||
case HT_EVENT_NODE_DELETED_NODATA:
|
||||
{
|
||||
|
@ -646,8 +647,7 @@ XFE_RDFTreeView::add_row(int row)
|
|||
}
|
||||
|
||||
void
|
||||
XFE_RDFTreeView::add_row
|
||||
(HT_Resource node)
|
||||
XFE_RDFTreeView::add_row(HT_Resource node)
|
||||
{
|
||||
//HT_Resource node = GetNthItem (_ht_view, row);
|
||||
int row = HT_GetNodeIndex(_ht_view, node);
|
||||
|
@ -749,6 +749,7 @@ XFE_RDFTreeView::add_row
|
|||
break;
|
||||
}
|
||||
/*D(fprintf(stderr,"Node data (%d, %d) = '%s'\n",row,ii,buffer););*/
|
||||
// ii is getting set to 1 here !!!!!!
|
||||
XmLGridSetStringsPos(_tree,
|
||||
XmCONTENT, row,
|
||||
XmCONTENT, ii,
|
||||
|
|
|
@ -494,22 +494,27 @@ fe_GetURL (MWContext *context, URL_Struct *url, Boolean skip_get_url)
|
|||
fe_SetURLString (context, url);
|
||||
}
|
||||
|
||||
/* Create URL from prev history entry to preserve security, etc. */
|
||||
urlcp = SHIST_CreateURLStructFromHistoryEntry(context, he);
|
||||
|
||||
/* Swap addresses. */
|
||||
temp = url->address;
|
||||
url->address = urlcp->address;
|
||||
urlcp->address = temp;
|
||||
if (url->history_num == 0) {
|
||||
/* Create URL from prev history entry to preserve security, etc. */
|
||||
urlcp = SHIST_CreateURLStructFromHistoryEntry(context, he);
|
||||
|
||||
/* Swap addresses. */
|
||||
temp = url->address;
|
||||
url->address = urlcp->address;
|
||||
urlcp->address = temp;
|
||||
|
||||
/* set history_num correctly */
|
||||
urlcp->history_num = url->history_num;
|
||||
/* set history_num correctly */
|
||||
/*urlcp->history_num = url->history_num;*/
|
||||
|
||||
/* Free old URL, and reassign. */
|
||||
NET_FreeURLStruct(url);
|
||||
url = urlcp;
|
||||
NET_FreeURLStruct (url);
|
||||
fe_RefreshAllAnchors ();
|
||||
/* Free old URL, and reassign. */
|
||||
NET_FreeURLStruct(url);
|
||||
url = urlcp;
|
||||
|
||||
/*fe_RefreshAllAnchors ();*/
|
||||
SHIST_AddDocument(context, SHIST_CreateHistoryEntry(url,he->title));
|
||||
} else {
|
||||
SHIST_SetCurrent(&context->hist, url->history_num);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче