зеркало из https://github.com/mozilla/pjs.git
Bug 156712 Webclient can't do File->New Window on Unix
r=edburns
This commit is contained in:
Родитель
555fee446a
Коммит
2a4c9db6cd
|
@ -42,7 +42,7 @@ import java.awt.Dimension;
|
|||
|
||||
* There is one instance of GtkBrowserControlCanvas per top level awt Frame.
|
||||
|
||||
* @version $Id: GtkBrowserControlCanvas.java,v 1.2 2002-10-01 00:39:21 edburns%acm.org Exp $
|
||||
* @version $Id: GtkBrowserControlCanvas.java,v 1.3 2003-04-09 01:36:02 kyle.yuan%sun.com Exp $
|
||||
*
|
||||
* @see org.mozilla.webclient.BrowserControlCanvasFactory
|
||||
*
|
||||
|
@ -57,7 +57,7 @@ public class GtkBrowserControlCanvas extends BrowserControlCanvas /* implements
|
|||
GtkBrowserControlCanvas.loadMainDll();
|
||||
}
|
||||
|
||||
static private boolean firstTime = true;
|
||||
private boolean firstTime = true;
|
||||
private int gtkWinID;
|
||||
private int gtkTopWindow;
|
||||
private int canvasWinID;
|
||||
|
|
|
@ -107,7 +107,6 @@ JNIEXPORT jint JNICALL Java_org_mozilla_webclient_wrapper_1native_gtk_GtkBrowser
|
|||
GtkWidget * window = (GtkWidget *) parent;
|
||||
|
||||
gtk_widget_realize(GTK_WIDGET(window));
|
||||
gtk_widget_set_uposition(window, screenWidth + 20, screenHeight + 20);
|
||||
gtk_widget_show(window);
|
||||
|
||||
PR_LOG(prLogModuleInfo, PR_LOG_DEBUG,
|
||||
|
|
Загрузка…
Ссылка в новой задаче