From a5fc8c19c9c6cfcda16d2e3d0331839dee2e4e13 Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Wed, 9 Sep 1998 10:56:48 +0000 Subject: [PATCH] Unbreak MOZ_SELECTOR_BAR for the hell of it. --- cmd/xfe/src/NavCenterView.cpp | 14 +++++++------- cmd/xfe/src/NavCenterView.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cmd/xfe/src/NavCenterView.cpp b/cmd/xfe/src/NavCenterView.cpp index 38e5956ae77..3fc780dd18c 100644 --- a/cmd/xfe/src/NavCenterView.cpp +++ b/cmd/xfe/src/NavCenterView.cpp @@ -285,8 +285,8 @@ XFE_NavCenterView::addHTView(HT_View htview) else { // Create the image object and register callback - rdfImage = new XFE_RDFImage(_toplevel, (void *) this, imageURL, - CONTEXT_DATA(_contextData)->colormap, + rdfImage = new XFE_RDFImage(m_toplevel, (void *) this, imageURL, + CONTEXT_DATA(m_contextData)->colormap, button); rdfImage->setCompleteCallback((completeCallbackPtr)image_complete_cb, (void *) button); @@ -308,12 +308,12 @@ XFE_NavCenterView::selector_activate_cb(Widget /* w */, XtPointer clientData, XtPointer /* callData */) { - HT_View htView = (HT_View)clientData; - HT_Pane htPane = HT_GetPane(htView); +// HT_View htView = (HT_View)clientData; +// HT_Pane htPane = HT_GetPane(htView); - XFE_NavCenterView * nc = (XFE_NavCenterView *)HT_GetPaneFEData(htPane); +// XFE_NavCenterView * nc = (XFE_NavCenterView *)HT_GetPaneFEData(htPane); - nc->setRdftree(htView); +// nc->setRdftree(htView); } ////////////////////////////////////////////////////////////////////// Widget @@ -403,7 +403,7 @@ XFE_NavCenterView::createSelectorBar() { _selector = XtVaCreateManagedWidget("selector", xfeToolScrollWidgetClass, - navCenterMainForm, + getBaseWidget(), XmNtopOffset, 0, XmNbottomOffset, 0, XmNleftOffset, 0, diff --git a/cmd/xfe/src/NavCenterView.h b/cmd/xfe/src/NavCenterView.h index 0a01e77c067..523af765e47 100644 --- a/cmd/xfe/src/NavCenterView.h +++ b/cmd/xfe/src/NavCenterView.h @@ -48,7 +48,7 @@ public: void selectHTView (HT_View view); #ifdef MOZ_SELECTOR_BAR void addHTView (HT_View view); - Widget getSelector () { return m_selector; } + Widget getSelector (); static void selector_activate_cb (Widget,XtPointer,XtPointer); #endif /*MOZ_SELECTORY_BAR*/