This commit is contained in:
foudfou 2014-12-24 20:11:14 +01:00
parent a95709e544
commit d588605620
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ var win32 = new function() {
this.HGDIOBJ = this.HANDLE;
this.HBITMAP = this.HANDLE;
this.HFONT = this.HANDLE;
// FIXME: jschar renamed to char16_t (FF35+)
this.TCHAR = ctypes.jschar, // Mozilla compiled with UNICODE/_UNICODE macros and wchar_t = jschar
this.LPSTR = ctypes.char.ptr;
this.LPCSTR = ctypes.char.ptr;

View File

@ -72,6 +72,7 @@ firetray.PopupMenu = {
this.menuSeparatorWindows = gtk.gtk_separator_menu_item_new();
gtk.gtk_menu_shell_prepend(
this.menuShell, ctypes.cast(this.menuSeparatorWindows, gtk.GtkWidget.ptr));
// FIXME: we better use a submenu for this: gtk_menu_new(), gtk_menu_item_set_submenu();
// for AppIndicator, not shown otherwise
this.prependAppIndicatorItems();